diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:29 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:29 +0200 |
commit | eaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (patch) | |
tree | 833f3fae6e3604a439f909c245a6e35f574997d7 /debug.h | |
parent | 283707c5e5bc436b78ea23bf5500cb6b16a01148 (diff) | |
download | debian_htop-eaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95.tar.gz debian_htop-eaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95.tar.bz2 debian_htop-eaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95.zip |
Imported Upstream version 1.0upstream/1.0
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,7 +8,7 @@ #define realloc(x,s) DebugMemory_realloc(x, s, __FILE__, __LINE__, #x) #define strdup(x) DebugMemory_strdup(x, __FILE__, __LINE__) #define free(x) DebugMemory_free(x, __FILE__, __LINE__) - #define debug_done() DebugMemory_report() + #define debug_done() DebugMemory_report(); _nc_freeall() #elif defined(DEBUGLITE) @@ -16,13 +16,13 @@ #ifdef NDEBUG #undef NDEBUG #endif - #define debug_done() sleep(0) + #define debug_done() #else /* No debugging */ #define NDEBUG - #define debug_done() sleep(0) + #define debug_done() #endif |