Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_file
Modified Files:
ecore_file_download.c
Log Message:
- set the job list to NULL. If this isn't done and we re-init the library (as
efreet does during unit testing) the list won't get re-created and crap memory
will get freed on the next shutdown
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_file/ecore_file_download.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- ecore_file_download.c 11 Mar 2008 10:24:10 -0000 1.21
+++ ecore_file_download.c 20 Mar 2008 02:10:55 -0000 1.22
@@ -72,6 +72,7 @@
_url_progress_download = NULL;
ecore_list_destroy(_job_list);
+ _job_list = NULL;
}
return ecore_con_url_shutdown();
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs