diff options
Diffstat (limited to 'src/lib/malloc.c')
-rw-r--r-- | src/lib/malloc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/malloc.c b/src/lib/malloc.c index 3cedc8f82f..c10750d5e9 100644 --- a/src/lib/malloc.c +++ b/src/lib/malloc.c @@ -17,10 +17,6 @@ void *malloc(size_t size) MALLOCDBG("%s Enter, size %ld, free_mem_ptr %p\n", __func__, size, free_mem_ptr); - /* Checking arguments */ - if (size < 0) - die("Error! malloc: size < 0"); - /* Overzealous linker check */ if (free_mem_ptr <= 0) die("Error! malloc: Free_mem_ptr <= 0"); |