diff options
Diffstat (limited to 'test/test_malloc.c')
-rw-r--r-- | test/test_malloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_malloc.c b/test/test_malloc.c index 7be62ff..1138502 100644 --- a/test/test_malloc.c +++ b/test/test_malloc.c @@ -36,7 +36,9 @@ test_malloc(size_t size) { if (in_test_malloc_init) { return NULL; // dlsym is asking for memory, but handles this fine - } else if (!test_malloc_sys_malloc) { + } + + if (!test_malloc_sys_malloc) { test_malloc_init(); } |