diff options
author | Ilia Mirkin <[email protected]> | 2015-10-01 20:18:19 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-10-02 14:14:27 -0400 |
commit | da2fdf950fe754f9d38b3c2b8e73582ac92c4477 (patch) | |
tree | 381d4676fc4e21b3b3540272429710d549686b99 /src/mesa/program | |
parent | 6b7036498a9eed99c7f726d406d4638f97ddf0af (diff) |
mesa: avoid leaking closure when iterating over a string_to_uint_map
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/hash_table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/program/hash_table.h b/src/mesa/program/hash_table.h index e85a836a00b..d0a2abffa34 100644 --- 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); } /** |