Module: Mesa Branch: master Commit: b041bf9f4b7b3ea5c787937d5f0cba14ab7dd532 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b041bf9f4b7b3ea5c787937d5f0cba14ab7dd532
Author: Nicolai Hähnle <[email protected]> Date: Tue Oct 10 13:58:45 2017 +0200 disk_cache: fix a memory leak Reviewed-by: Marek Olšák <[email protected]> --- 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 17913a913b..63fd8e1f93 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) _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
