discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b0cb3b935a8faf2d67bae38a54683946cb01d0b9

commit b0cb3b935a8faf2d67bae38a54683946cb01d0b9
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Jun 25 17:55:25 2018 -0400

    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
---
 src/lib/eina/eina_thread_queue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 }
 

-- 


Reply via email to