From 78035f6c9657da350598c9abcdf71d421d62084f Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 30 Oct 2024 01:54:43 +0100 Subject: Don’t try to fclose() a garbage pointer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/work.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/work.c') diff --git a/src/work.c b/src/work.c index 37fd8b8..874d0cd 100644 --- a/src/work.c +++ b/src/work.c @@ -75,7 +75,7 @@ process_file(const char *locl_filename, unsigned char **locl_buf) if (fp == nullptr) { warn("fopen: %s:", filename); atomic_store(&rv, EXIT_WARNING); - goto out; + return; } allocator_t mem = init_heap_allocator(nullptr); -- cgit v1.2.3