aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bp.c b/bp.c
index 32d09f7..d89ebfb 100644
--- a/bp.c
+++ b/bp.c
@@ -404,7 +404,7 @@ static int process_file(def_t *defs, const char *filename, pat_t *pattern)
#ifdef DEBUG_HEAP
if (recycle_all_matches() != 0)
- errx("Memory leak: there should no longer be any matches in use at this point.");
+ errx(EXIT_FAILURE, "Memory leak: there should no longer be any matches in use at this point.");
#endif
destroy_file(&f);
(void)fflush(stdout);