diff options
Diffstat (limited to 'lib/leak-checker.c')
-rw-r--r-- | lib/leak-checker.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/leak-checker.c b/lib/leak-checker.c index 8b781824..42b3818a 100644 --- a/lib/leak-checker.c +++ b/lib/leak-checker.c @@ -216,11 +216,10 @@ hook_free(void *p, const void *caller OVS_UNUSED) } set_hooks(&libc_hooks); + log_callers("free(%p)", p); free(p); get_hooks(&libc_hooks); - log_callers("free(%p)", p); - reset_hooks(); } |