Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ecompmgr.c 


Log Message:
QND fix...
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ecompmgr.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- ecompmgr.c  30 Mar 2005 22:51:02 -0000      1.16
+++ ecompmgr.c  30 Mar 2005 23:22:10 -0000      1.17
@@ -342,7 +342,7 @@
    XRenderPictFormat  *pictfmt;
    XRenderPictureAttributes pa;
 
-   if (cmdi->bgpict != None)
+   if (cmdi && cmdi->bgpict != None)   /* FIXME - Leaking pict */
       return cmdi->bgpict;
 
    fill = False;
@@ -372,7 +372,8 @@
    /* New background, all must be repainted */
    ECompMgrDamageAll();
 
-   cmdi->bgpict = pict;
+   if (cmdi)                   /* FIXME - Leaking pict */
+      cmdi->bgpict = pict;
 
    return pict;
 }




-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to