dpif: Factor 'type' and 'error' out of individual dpif_op members.
[openvswitch] / lib / leak-checker.c
index 8b781824417212c08b79b9851824566dbcce3748..42b3818ab511f2a469b08c5145efc60e86938aa7 100644 (file)
@@ -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();
 }