Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir     : e17/proto/enhance/src/lib


Modified Files:
        enhance.c 


Log Message:
Last one. Now valgrind is quiet.

===================================================================
RCS file: /cvs/e/e17/proto/enhance/src/lib/enhance.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- enhance.c   14 Aug 2006 19:50:38 -0000      1.20
+++ enhance.c   14 Aug 2006 20:09:17 -0000      1.21
@@ -1212,9 +1212,10 @@
    evas_hash_foreach(en->signals, _e_signal_hash_free, en);
    evas_hash_free(en->signals);
    
-   evas_hash_free(en->callback_data);
+   if (en->callback_data) evas_hash_free(en->callback_data);
+   if (en->radio_groups)  evas_hash_free(en->radio_groups);
 
-   ecore_hash_destroy(_en_stock_items_hash);
+   if (_en_stock_items_hash) ecore_hash_destroy(_en_stock_items_hash);
    
    E_FREE(en->main_window);
    E_FREE(en);   



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to