diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-10-31 12:14:25 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-10-31 12:14:25 +0100 |
commit | efaee91465bfb12cd3550ecbb914741eca45eb82 (patch) | |
tree | 1a46f2e0e4ab3992dd8cb7803f43a94ef984c1bb | |
parent | 9c796dbb040201d33db272f12d349b6bde8d17ad (diff) |
Set basecap to 0 when freeing baseptr
-rw-r--r-- | src/work.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -155,6 +155,7 @@ process_file(const char *locl_filename, unsigned char **locl_buf) free(baseptr); array_free(hl); baseptr = nullptr; + basecap = 0; hl = nullptr; #endif return; |