diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test.c b/tests/test.c index bbf75b5..d8b39fd 100644 --- a/tests/test.c +++ b/tests/test.c @@ -58,6 +58,8 @@ int main() { } foo(); + subhook_free(foo_hook); + puts("Testing trampoline"); subhook_t foo_hook_tr = subhook_new((void *)foo, @@ -74,5 +76,7 @@ int main() { } foo(); + subhook_free(foo_hook_tr); + return EXIT_SUCCESS; } |