From 6cc1225fef0eb74ecb651f72ea22921f3daecece Mon Sep 17 00:00:00 2001 From: NRK Date: Mon, 12 Feb 2024 22:00:31 +0000 Subject: 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 --- thumbs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thumbs.c b/thumbs.c index bd1e314..c7b9dc6 100644 --- a/thumbs.c +++ b/thumbs.c @@ -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) -- cgit v1.2.3-54-g00ecf