summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index d7d31a5..5296171 100644
--- a/main.c
+++ b/main.c
@@ -409,7 +409,8 @@ main(int argc, char **argv)
xfree(cfg);
- debug_resource_usage();
+ if (debug_enabled(DBG_MALLOC))
+ debug_resource_usage();
fflush(stdout);
fflush(stderr);