fix valgrind bitch about uniittied mem!

SVN revision: 70461
This commit is contained in:
Carsten Haitzler 2012-04-25 09:16:43 +00:00
parent 797949633a
commit b4757bca71
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ _ecore_thread_worker_new(void)
result = eina_trash_pop(&_ecore_thread_worker_trash);
if (!result) result = malloc(sizeof (Ecore_Pthread_Worker));
if (!result) result = calloc(1, sizeof(Ecore_Pthread_Worker));
else _ecore_thread_worker_count--;
LKI(result->cancel_mutex);