diff options
author | NRK <nrk@disroot.org> | 2024-02-12 23:00:31 +0100 |
---|---|---|
committer | NRK <nrk@disroot.org> | 2024-02-12 23:00:31 +0100 |
commit | 6cc1225fef0eb74ecb651f72ea22921f3daecece (patch) | |
tree | ee07d4f72dda47d5b5acc64d6a2664ae46329d4a | |
parent | 0faff1866d304c9ea7ef9da542dd2a04ecf35da8 (diff) | |
download | nsxiv-6cc1225fef0eb74ecb651f72ea22921f3daecece.tar.zst |
free cache_tmpfile in tns_free (#485)
doesn't really matter since the process is about to exit
anyways, but makes it consistent with everything else.
Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/485
-rw-r--r-- | thumbs.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -198,6 +198,8 @@ CLEANUP void tns_free(tns_t *tns) free(cache_dir); cache_dir = NULL; + free(cache_tmpfile); + cache_tmpfile = cache_tmpfile_base = NULL; } static Imlib_Image tns_scale_down(Imlib_Image im, int dim) |