* eina: fix wrong test in eina_big.

SVN revision: 50602
This commit is contained in:
Cedric BAIL 2010-07-28 18:10:53 +00:00
parent 28a5e44f7d
commit 4010a9b18a
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ static void *
eina_one_big_malloc(void *data, __UNUSED__ unsigned int size)
{
One_Big *pool = data;
unsigned char *mem;
unsigned char *mem = NULL;
#ifdef EFL_HAVE_THREADS
# ifdef EFL_HAVE_POSIX_THREADS
@ -90,7 +90,7 @@ eina_one_big_malloc(void *data, __UNUSED__ unsigned int size)
# endif
#endif
if (pool->base)
if (pool->empty)
{
mem = eina_trash_pop(&pool->empty);
pool->usage++;