summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-06-25 17:55:25 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-06-25 17:55:25 -0400
commitb0cb3b935a8faf2d67bae38a54683946cb01d0b9 (patch)
treeb675f24b27fbb5413137cc4c5a9768dd27fb348c
parent6eaa57852abd77901dc36cba838b6e6385a839dd (diff)
downloadefl-b0cb3b935a8faf2d67bae38a54683946cb01d0b9.tar.gz
eina/threadqueue: use mempool_del for hash free function
Summary: I typod this in 14ae3e3dec7866e74f2990dca417eac44da41058 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
-rw-r--r--src/lib/eina/eina_thread_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_thread_queue.c b/src/lib/eina/eina_thread_queue.c
index b095be6c2f..91fbcb5151 100644
--- a/src/lib/eina/eina_thread_queue.c
+++ b/src/lib/eina/eina_thread_queue.c
@@ -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;
}