projects
/
platform
/
upstream
/
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
17913a9
..
63fd8e1
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)