diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-16 23:44:06 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-16 23:44:06 -0600 |
commit | a932d4f46c2fadd6c750d844846fb9ba4baf45e0 (patch) | |
tree | 6f459c60433752713a74f84c8dddd1004037c91d /libdimension/profile.c | |
parent | d374841194f24c7cb1cdc52fc631fcb2982af358 (diff) | |
download | dimension-a932d4f46c2fadd6c750d844846fb9ba4baf45e0.tar.xz |
Add basic leak check.
Diffstat (limited to 'libdimension/profile.c')
-rw-r--r-- | libdimension/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/profile.c b/libdimension/profile.c index f9dd2d9..8fca36a 100644 --- a/libdimension/profile.c +++ b/libdimension/profile.c @@ -169,7 +169,7 @@ dmnsn_print_bad_prediction(void *ptr) dmnsn_free(branch->location); } -static void __attribute__((destructor)) +DMNSN_DESTRUCTOR static void dmnsn_print_bad_predictions(void) { dmnsn_dictionary *thread_profile = dmnsn_get_thread_profile(); |