From 7477fa1a17a5604040a51d980d21e27c6e281b6e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 9 Feb 2006 02:51:50 +0000 Subject: just drop all of the debug code --- libc/stdlib/malloc-standard/free.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libc/stdlib') 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; } -- cgit v1.2.3