forked from enlightenment/efl
eina: forgotten include that borked debug build.
This commit is contained in:
parent
c2541f5dd1
commit
ab12337d76
|
@ -39,6 +39,7 @@
|
|||
#include "eina_trash.h"
|
||||
#include "eina_rbtree.h"
|
||||
#include "eina_lock.h"
|
||||
#include "eina_thread.h"
|
||||
|
||||
#include "eina_private.h"
|
||||
|
||||
|
@ -228,7 +229,7 @@ _eina_chained_mempool_free_in(Chained_Mempool *pool, Chained_Pool *p, void *ptr)
|
|||
// is it really a pointer returned by malloc
|
||||
if ((((unsigned char *)ptr) - (unsigned char *)(p + 1)) % pool->item_alloc)
|
||||
{
|
||||
ERR("%p is %i bytes inside a pointer served by %p '%s' Chained_Mempool (You are freeing the wrong pointer man !). %i",
|
||||
ERR("%p is %i bytes inside a pointer served by %p '%s' Chained_Mempool (You are freeing the wrong pointer man !).",
|
||||
ptr, ((((unsigned char *)ptr) - (unsigned char *)(p + 1)) % pool->item_alloc), pool, pool->name);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "eina_inlist.h"
|
||||
#include "eina_log.h"
|
||||
#include "eina_lock.h"
|
||||
#include "eina_thread.h"
|
||||
|
||||
#ifndef NVALGRIND
|
||||
# include <memcheck.h>
|
||||
|
|
Loading…
Reference in New Issue