Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/lib Modified Files: libevfs.c Log Message: * Removed several leaks =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/lib/libevfs.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -3 -r1.28 -r1.29 --- libevfs.c 10 Dec 2005 04:14:17 -0000 1.28 +++ libevfs.c 29 Dec 2005 10:59:00 -0000 1.29 @@ -68,18 +68,14 @@ if (conn->callback_func) { evfs_event* ev = conn->prog_event; - - - conn->prog_event = NULL; /*Detach this event from the conn. Client is responsible for it now*/ (*conn->callback_func)(ev); - - - - /*Now cleanup the event we send back*/ - evfs_cleanup_event(ev); } else { printf("EVFS: Alert - no callback registered for event\n"); } + + /*Now cleanup the event we send back*/ + evfs_cleanup_event(conn->prog_event); + conn->prog_event = NULL; /*Detach this event from the conn. Client is responsible for it now*/ } free(msg); @@ -307,7 +303,9 @@ ecore_dlist_append(tokens, token); } - + + ecore_dlist_destroy(plugin); + ecore_dlist_destroy(reserved); free(dup_uri); return tokens; ------------------------------------------------------- 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