Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : apps/elicit

Dir     : e17/apps/elicit/src


Modified Files:
        swatches.c 


Log Message:
memleak fix
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/elicit/src/swatches.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- swatches.c  18 Dec 2005 16:11:39 -0000      1.14
+++ swatches.c  20 Dec 2005 20:44:06 -0000      1.15
@@ -285,6 +285,7 @@
       memcpy(buf, ret, size_ret);
       buf[size_ret] = '\0';
       name = strdup(buf);
+      free(ret);
     }
      
     snprintf(buf, PATH_MAX, "swatches/%d/hex", i);




-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to