* eina: fix segv on NULL mempool.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 5 Aug 2010 12:36:36 +0000 (12:36 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 5 Aug 2010 12:36:36 +0000 (12:36 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50833 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/mp/one_big/eina_one_big.c

index fdc9dd7..4867037 100644 (file)
@@ -212,6 +212,8 @@ eina_one_big_shutdown(void *data)
 
    pool = data;
 
+   if (!pool) return ;
+
 #ifdef DEBUG
    if (pool->usage > 0)
       INF(