projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b70364
)
mesa: avoid leaking closure when iterating over a string_to_uint_map
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Fri, 2 Oct 2015 00:18:19 +0000
(20:18 -0400)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Fri, 2 Oct 2015 18:14:27 +0000
(14:14 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/program/hash_table.h
patch
|
blob
|
history
diff --git
a/src/mesa/program/hash_table.h
b/src/mesa/program/hash_table.h
index e85a836a00bd4ea16d6ddcae0a9a0287e95d7cd7..d0a2abffa343c8b229acefcc8d08aba2efb9f19a 100644
(file)
--- a/
src/mesa/program/hash_table.h
+++ b/
src/mesa/program/hash_table.h
@@
-249,6
+249,7
@@
public:
wrapper->closure = closure;
hash_table_call_foreach(this->ht, subtract_one_wrapper, wrapper);
+ free(wrapper);
}
/**