forked from enlightenment/efl
fix valgrind bitch about uniittied mem!
SVN revision: 70461
This commit is contained in:
parent
797949633a
commit
b4757bca71
|
@ -662,7 +662,7 @@ _ecore_thread_worker_new(void)
|
||||||
|
|
||||||
result = eina_trash_pop(&_ecore_thread_worker_trash);
|
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--;
|
else _ecore_thread_worker_count--;
|
||||||
|
|
||||||
LKI(result->cancel_mutex);
|
LKI(result->cancel_mutex);
|
||||||
|
|
Loading…
Reference in New Issue