eina/threadqueue: use mempool_del for hash free function

Summary:
I typod this in 14ae3e3dec and when using
mempools other than chained, this probably caused all apps to crash on
shutdown

Reviewers: ManMower, devilhorns

Reviewed By: ManMower

Subscribers: cedric, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6428
This commit is contained in:
Mike Blumenkrantz 2018-06-25 17:55:25 -04:00
parent 6eaa57852a
commit b0cb3b935a
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ eina_thread_queue_init(void)
ERR("Cannot init thread queue block pool spinlock");
return EINA_FALSE;
}
mempools = eina_hash_int32_new((Eina_Free_Cb)eina_mempool_free);
mempools = eina_hash_int32_new((Eina_Free_Cb)eina_mempool_del);
return EINA_TRUE;
}