diff options
Diffstat (limited to 'test/libmallocintercept.c')
-rw-r--r-- | test/libmallocintercept.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libmallocintercept.c b/test/libmallocintercept.c index 0cf5aeb..a649e9e 100644 --- a/test/libmallocintercept.c +++ b/test/libmallocintercept.c @@ -74,7 +74,8 @@ void *malloc(size_t size) { } void free(void *ptr) { - print_msg("Called free() on %p from libmallocintercept...", ptr); + void *ptr2 = ptr; ptr2 -= ptr; + print_msg("Called free() on from libmallocintercept..."); poke_faketime(); print_msg("successfully\n"); |