Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        icons.c 


Log Message:
Fix pixmap leak in iconbox snapshots when compositing is active.

===================================================================
RCS file: /cvs/e/e16/e/src/icons.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- icons.c     22 Mar 2008 14:46:38 -0000      1.18
+++ icons.c     5 Jun 2008 09:23:04 -0000       1.19
@@ -115,6 +115,8 @@
        mask = EWindowGetShapePixmap(EoGetWin(ewin));
        im = EImageGrabDrawableScaled(EoGetWin(ewin), draw, mask, 0, 0, ww, hh,
                                      w, h, !EServerIsGrabbed(), 0);
+       if (mask)
+          EFreePixmap(mask);
      }
    else
      {



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to