diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-10-30 01:54:43 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-10-30 01:54:43 +0100 |
commit | 78035f6c9657da350598c9abcdf71d421d62084f (patch) | |
tree | 46c3245458c245026ddb1672851cede4d7e603c9 /src/work.c | |
parent | 042e43247f396a9000fead59d9bff87bf12806d6 (diff) |
Don’t try to fclose() a garbage pointer
Diffstat (limited to 'src/work.c')
-rw-r--r-- | src/work.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |