eina thread - make note about valgrind complaint that is bogus

This commit is contained in:
Carsten Haitzler 2013-11-03 20:51:41 +09:00
parent 4eb7b81925
commit 9337af1187
1 changed files with 2 additions and 0 deletions

View File

@ -284,6 +284,8 @@ eina_thread_create(Eina_Thread *t,
c->prio = prio;
c->affinity = affinity;
// valgrind complains c is lost - but it's not - it is handed to the
// child thread to be freed when c->func returns in _eina_internal_call().
if (_eina_thread_create(t, affinity, _eina_internal_call, c))
return EINA_TRUE;