aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-03-15 18:28:55 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-03-15 18:28:55 -0700
commit00bb63d27708a9ba7f7e5abe04c88fa6e01149fa (patch)
treede65b3bfb1a473600cc414d0f4be532ab3ceca69
parentced0004c87662060958250fb9e294b4f39906e24 (diff)
Debug error
-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);