diff --git a/modules/src/malloc/mal.c b/modules/src/malloc/mal.c index 5ff02b0fe..5c1606609 100644 --- a/modules/src/malloc/mal.c +++ b/modules/src/malloc/mal.c @@ -291,7 +291,7 @@ realloc(addr, n) free(addr); check_work_empty("mv_realloc"); #ifdef STORE - assert(! in_store(new)); + assert(! in_store(mallink_of_block(new))); #endif return new; }