projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c54a1
)
disk_cache: fix a memory leak
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Tue, 10 Oct 2017 11:58:45 +0000
(13:58 +0200)
committer
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Tue, 10 Oct 2017 11:58:45 +0000
(13:58 +0200)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/util/disk_cache.c
patch
|
blob
|
history
diff --git
a/src/util/disk_cache.c
b/src/util/disk_cache.c
index 17913a913bd6db3a93aaed848064003fa6802ca9..63fd8e1f93a8cb1a3185ccd5ca26abaaa44165ae 100644
(file)
--- 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)