diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/disk_cache.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c index 63fd8e1f93a..e38cacb259b 100644 --- a/src/util/disk_cache.c +++ b/src/util/disk_cache.c @@ -987,10 +987,8 @@ cache_put(void *job, int thread_index) */ if (fd != -1) close(fd); - if (filename_tmp) - free(filename_tmp); - if (filename) - free(filename); + free(filename_tmp); + free(filename); } void |