diff options
Diffstat (limited to 'src/stdlib/free.c')
| -rw-r--r-- | src/stdlib/free.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stdlib/free.c b/src/stdlib/free.c index 3662adb3..40ee9671 100644 --- a/src/stdlib/free.c +++ b/src/stdlib/free.c @@ -9,10 +9,12 @@ void free(void * ptr) SIGNAL_SAFE(0); if (ptr) { - __jkmalloc(NULL, NULL, 0, ptr, 0, 0, 0, NULL); + __jkmalloc(ptr, 0, 0, 0, NULL); } } +VCHECK_1(free, void *) + /*** deallocates the memory at ARGUMENT(ptr). Specifying CONSTANT(NULL) causes nothing to happen. |
