Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c e_container.c 


Log Message:


mem leak patches from holger :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- e_apps.c    24 Feb 2005 09:54:58 -0000      1.23
+++ e_apps.c    22 Mar 2005 09:20:12 -0000      1.24
@@ -148,6 +148,7 @@
 
 error:
    if (a->monitor) ecore_file_monitor_del(a->monitor);
+   if (a->path) free(a->path);
    _e_app_fields_empty(a);
    free(a);
    return NULL;
@@ -387,6 +388,8 @@
    _e_apps = evas_hash_del(_e_apps, a->path, a);
    _e_apps_list = evas_list_remove(_e_apps_list, a);
    _e_app_fields_empty(a);
+   if (a->path) 
+     free(a->path);
    free(a);
 }
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_container.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- e_container.c       15 Mar 2005 10:25:48 -0000      1.33
+++ e_container.c       22 Mar 2005 09:20:12 -0000      1.34
@@ -426,6 +426,8 @@
      {
        ecore_x_window_del(con->win);
      }
+   if (con->name)
+     free(con->name);
    free(con);
 }
    




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to