From ac489d50a37bc514f01b7e754c0acd40cea3b18c Mon Sep 17 00:00:00 2001
From: ceriel <none@none>
Date: Thu, 30 Nov 1989 15:12:11 +0000
Subject: [PATCH] Corrected assertion

---
 modules/src/malloc/mal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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