Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/include Modified Files: evas_private.h Log Message: valgrind complaint! fix! =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_private.h,v retrieving revision 1.57 retrieving revision 1.58 diff -u -3 -r1.57 -r1.58 --- evas_private.h 3 Dec 2005 09:27:53 -0000 1.57 +++ evas_private.h 10 Dec 2005 05:22:03 -0000 1.58 @@ -83,26 +83,26 @@ #define EVAS_OBJECT_IMAGE_FREE_FILE_AND_KEY(o) \ if ((o)->cur.file) \ { \ - free((o)->cur.file); \ + evas_stringshare_del((o)->cur.file); \ if ((o)->prev.file == (o)->cur.file) \ (o)->prev.file = NULL; \ (o)->cur.file = NULL; \ } \ if ((o)->cur.key) \ { \ - free((o)->cur.key); \ + evas_stringshare_del((o)->cur.key); \ if ((o)->prev.key == (o)->cur.key) \ (o)->prev.key = NULL; \ (o)->cur.key = NULL; \ } \ if ((o)->prev.file) \ { \ - free((o)->prev.file); \ + evas_stringshare_del((o)->prev.file); \ (o)->prev.file = NULL; \ } \ if ((o)->prev.key) \ { \ - free((o)->prev.key); \ + evas_stringshare_del((o)->prev.key); \ (o)->prev.key = NULL; \ } ------------------------------------------------------- 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