From 00bb63d27708a9ba7f7e5abe04c88fa6e01149fa Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 15 Mar 2021 18:28:55 -0700 Subject: Debug error --- bp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3