Enlightenment CVS committal Author : doursse Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/software_xcb Modified Files: evas_outbuf.c Log Message: fix memory leaks and update to new XCB API =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/engines/software_xcb/evas_outbuf.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- evas_outbuf.c 20 Sep 2005 17:01:03 -0000 1.5 +++ evas_outbuf.c 18 Dec 2005 11:25:09 -0000 1.6 @@ -921,6 +921,7 @@ type = type_rep->atom; format = STRING; retval = NULL; + free(type_rep); cookie = XCBGetProperty(conn, 0, perf->x.root.window, type, format, @@ -942,9 +943,9 @@ evas_software_xcb_outbuf_perf_deserialize_x(perf, s); free(s); } - /* FIXME: doesn't seem to be need (from valgrind) */ -/* free(retval); */ } + free(prop_rep); + return perf; } ------------------------------------------------------- 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