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:
@@ -249,6 +249,7 @@ public:
|
||||
wrapper->closure = closure;
|
||||
|
||||
hash_table_call_foreach(this->ht, subtract_one_wrapper, wrapper);
|
||||
free(wrapper);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user