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/prtree.c | |
parent | d374841194f24c7cb1cdc52fc631fcb2982af358 (diff) | |
download | dimension-a932d4f46c2fadd6c750d844846fb9ba4baf45e0.tar.xz |
Add basic leak check.
Diffstat (limited to 'libdimension/prtree.c')
-rw-r--r-- | libdimension/prtree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/prtree.c b/libdimension/prtree.c index e73ea16..2d8acc4 100644 --- a/libdimension/prtree.c +++ b/libdimension/prtree.c @@ -564,7 +564,7 @@ dmnsn_get_prtree_caches(void) /** Needed because pthreads doesn't destroy data from the main thread unless it exits with pthread_exit(). */ -static void __attribute__((destructor)) +DMNSN_DESTRUCTOR static void dmnsn_delete_main_prtree_caches(void) { dmnsn_delete_array(dmnsn_get_prtree_caches()); |