From fcd1a550d79be0ecbafcb0b0565dea683a877f1d Mon Sep 17 00:00:00 2001 From: raster Date: Fri, 1 Oct 2010 07:04:07 +0000 Subject: [PATCH] From: Howell Tam Subject: ecore_file_download.c patch Leak fix. Free url_con. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@52944 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_file/ecore_file_download.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/ecore_file/ecore_file_download.c b/src/lib/ecore_file/ecore_file_download.c index 0e4ab09..31ee049 100644 --- a/src/lib/ecore_file/ecore_file_download.c +++ b/src/lib/ecore_file/ecore_file_download.c @@ -212,6 +212,7 @@ _ecore_file_download_url_complete_cb(void *data __UNUSED__, int type __UNUSED__, _job_list = eina_list_remove(_job_list, job); fclose(job->file); free(job->dst); + ecore_con_url_destroy(job->url_con); free(job); return ECORE_CALLBACK_DONE; -- 2.7.4