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
This commit is contained in:
NRK 2024-02-12 22:00:31 +00:00
parent 0faff1866d
commit 6cc1225fef
1 changed files with 2 additions and 0 deletions

View File

@ -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)