Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_theme.c 


Log Message:
Fix small theme data leak.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_theme.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_theme.c 26 Oct 2005 01:25:31 -0000      1.17
+++ ewl_theme.c 1 Nov 2005 05:58:34 -0000       1.18
@@ -526,8 +526,10 @@
        DCHECK_PARAM_PTR_RET("k", k, FALSE);
 
        temp = ewl_theme_data_str_get(w, k);
-       if (temp)
+       if (temp) {
                ret = atoi(temp);
+               FREE(temp);
+       }
 
        DRETURN_INT(ret, DLEVEL_STABLE);
 }




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to