From b041bf9f4b7b3ea5c787937d5f0cba14ab7dd532 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Tue, 10 Oct 2017 13:58:45 +0200 Subject: [PATCH] disk_cache: fix a memory leak MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/util/disk_cache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c index 17913a913bd..63fd8e1f93a 100644 --- a/src/util/disk_cache.c +++ b/src/util/disk_cache.c @@ -1145,6 +1145,7 @@ disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size) free(data); free(filename); + free(file_header); close(fd); if (size) -- 2.30.2