summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-09 02:51:50 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-09 02:51:50 +0000
commit7477fa1a17a5604040a51d980d21e27c6e281b6e (patch)
tree2a63e6f03dbe104b7fc365dced075554772b7bef /libc/stdlib
parent70ffd7d0d523dd7095b66c63af15b967fde19e8e (diff)
just drop all of the debug code
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/malloc-standard/free.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/stdlib/malloc-standard/free.c b/libc/stdlib/malloc-standard/free.c
index 9ffe51304..e0c6ef061 100644
--- a/libc/stdlib/malloc-standard/free.c
+++ b/libc/stdlib/malloc-standard/free.c
@@ -404,8 +404,7 @@ void free(void* mem)
size_t offset = p->prev_size;
av->n_mmaps--;
av->mmapped_mem -= (size + offset);
- /* munmap returns non-zero on failure */
- assert(munmap((char*)p - offset, size + offset) == 0);
+ munmap((char*)p - offset, size + offset);
}
UNLOCK;
}