diff options
Diffstat (limited to 'src/malloc/lite_malloc.c')
-rw-r--r-- | src/malloc/lite_malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/malloc/lite_malloc.c b/src/malloc/lite_malloc.c index 29cccb10..96c4feac 100644 --- a/src/malloc/lite_malloc.c +++ b/src/malloc/lite_malloc.c @@ -50,7 +50,7 @@ weak_alias(__simple_malloc, malloc); static void *__simple_calloc(size_t m, size_t n) { - if (n && m > (size_t)-1/n || malloc != __simple_malloc) { + if (n && m > (size_t)-1/n) { errno = ENOMEM; return 0; } |