mesa: avoid leaking closure when iterating over a string_to_uint_map

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
Ilia Mirkin
2015-10-01 20:18:19 -04:00
parent 6b7036498a
commit da2fdf950f
+1
View File
@@ -249,6 +249,7 @@ public:
wrapper->closure = closure;
hash_table_call_foreach(this->ht, subtract_one_wrapper, wrapper);
free(wrapper);
}
/**