fix longstanding leak
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 24 Jul 2010 02:05:35 +0000 (02:05 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 24 Jul 2010 02:05:35 +0000 (02:05 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50470 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/ecore_thread.c

index cf52a1a..ca89397 100644 (file)
@@ -100,6 +100,7 @@ _ecore_thread_end(Ecore_Pthread_Data *pth)
    _ecore_active_job_threads = eina_list_remove(_ecore_active_job_threads, pth);
 
    ecore_event_add(ECORE_THREAD_PIPE_DEL, pth->p, _ecore_thread_pipe_free, NULL);
+   free(pth);
 }
 
 static void