Enlightenment CVS committal

Author  : titan
Project : e17
Module  : proto

Dir     : e17/proto/ephoto/src


Modified Files:
        ephoto_callbacks.c 


Log Message:
Fix a potential memleak

===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_callbacks.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ephoto_callbacks.c  8 Sep 2006 02:59:43 -0000       1.20
+++ ephoto_callbacks.c  8 Sep 2006 03:01:07 -0000       1.21
@@ -2,6 +2,8 @@
 
 void destroy_cb(Ewl_Widget *w, void *event, void *data)
 {
+ if (!ecore_dlist_is_empty(current_thumbs))
+        ecore_dlist_destroy(current_thumbs);
  ewl_widget_destroy(w);
  ewl_main_quit();
  w = NULL;



-------------------------------------------------------------------------
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