Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : proto

Dir     : e17/proto/esmart/src/trans


Modified Files:
        esmart_trans.c 


Log Message:
plugged a memleak
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/trans/esmart_trans.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- esmart_trans.c      9 Apr 2004 17:44:58 -0000       1.11
+++ esmart_trans.c      18 Apr 2004 18:03:50 -0000      1.12
@@ -82,7 +82,6 @@
             free(root_list);
          root_list = (Ecore_X_Window *) data;
          root = root_list[current_desk];
-         free (root_list);
       }
       else
       {
@@ -94,6 +93,9 @@
       }
    }
 
+   if (root_list)
+      free(root_list);
+
    if (rootpmap)
    {
       ret = ecore_x_window_prop_property_get(root, rootpmap, 




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to