aboutsummaryrefslogtreecommitdiffstats
path: root/debug.h
diff options
context:
space:
mode:
authorEugene V. Lyubimkin <jackyf@debian.org>2011-11-26 15:58:33 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:30 +0200
commitc65eb8be811f59b55d64d9e7654c33708de79ad9 (patch)
treeee6e542b988263c49f0e1200d6aa5aa635667fe8 /debug.h
parent38174fffd79f54a8be7642bf170a2320b29e8063 (diff)
parenteaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (diff)
downloaddebian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.tar.gz
debian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.tar.bz2
debian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.zip
Imported Debian patch 1.0-1debian/1.0-1
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