Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_widget.c
Log Message:
Catch some small memory leaks.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_widget.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- ewl_widget.c 13 Nov 2005 07:36:07 -0000 1.38
+++ ewl_widget.c 14 Nov 2005 22:24:04 -0000 1.39
@@ -1594,6 +1594,15 @@
if (w->bit_state)
ecore_string_release(w->bit_state);
+ if (w->theme)
+ ecore_hash_destroy(w->theme);
+
+ if (w->theme_text)
+ ecore_hash_destroy(w->theme_text);
+
+ if (w->data)
+ ecore_hash_destroy(w->data);
+
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs