aboutsummaryrefslogtreecommitdiffstats
path: root/debug.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:29 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:29 +0200
commiteaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (patch)
tree833f3fae6e3604a439f909c245a6e35f574997d7 /debug.h
parent283707c5e5bc436b78ea23bf5500cb6b16a01148 (diff)
downloaddebian_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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug.h b/debug.h
index 1b89f66..ec2f883 100644
--- a/debug.h
+++ b/debug.h
@@ -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

© 2014-2024 Faster IT GmbH | imprint | privacy policy