summaryrefslogtreecommitdiff
path: root/nalloc.c
diff options
context:
space:
mode:
authortjg <tjg>2001-10-12 09:19:24 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:20 +0100
commit858f712a8ce34406195cb525c32f42e1d03e53f9 (patch)
treeba05c669fc07ee85730dc1395139cbdd3f48f532 /nalloc.c
parent3cd08d6119446034f93b6e66175dcfc7c273cb66 (diff)
make the assertion live
Diffstat (limited to 'nalloc.c')
-rw-r--r--nalloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nalloc.c b/nalloc.c
index 25e75a1..eb621e0 100644
--- a/nalloc.c
+++ b/nalloc.c
@@ -50,7 +50,8 @@ extern void *nalloc(size_t n) {
ulp->used = base + n;
return &ulp->mem[base];
} else {
- getblock(n); /* assert(ul->used) == 0 */
+ getblock(n);
+ assert(ul->used == 0);
(ulp = ul)->used = n;
return &ulp->mem[0];
}