Enlightenment CVS committal

Author  : stffrdhrn
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_intl.c 


Log Message:
Fix mem leak in search function:
 - When searching always free the clean_file if it exists, its just used at
   search time. 

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_intl.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -3 -r1.73 -r1.74
--- e_intl.c    13 Feb 2006 06:32:26 -0000      1.73
+++ e_intl.c    16 Feb 2006 21:08:43 -0000      1.74
@@ -539,8 +539,8 @@
                              {
                                 directory = strdup(epd->dir);
                              }
-                           free(clean_file);
                         }
+                      E_FREE(clean_file);
                    } 
               }
             ecore_list_destroy(files);




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to