Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        setup.c 


Log Message:
Fix a few GC leaks.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/setup.c,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -3 -r1.126 -r1.127
--- setup.c     7 May 2004 15:18:07 -0000       1.126
+++ setup.c     30 May 2004 15:15:24 -0000      1.127
@@ -705,10 +705,12 @@
        gc = XCreateGC(d2, pmap, 0, &gcv);
        XSetForeground(d2, gc, 0);
        XFillRectangle(d2, pmap, gc, 0, 0, 16, 16);
+       XFreeGC(d2, gc);
        mask = ECreatePixmap(d2, w2, 16, 16, 1);
        gc = XCreateGC(d2, mask, 0, &gcv);
        XSetForeground(d2, gc, 0);
        XFillRectangle(d2, mask, gc, 0, 0, 16, 16);
+       XFreeGC(d2, gc);
        cs = XCreatePixmapCursor(d2, pmap, mask, &cl, &cl, 0, 0);
        XDefineCursor(d2, win, cs);
        XDefineCursor(d2, w2, cs);




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to