mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 06:18:24 +02:00
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:
parent
6b7036498a
commit
da2fdf950f
1 changed files with 1 additions and 0 deletions
|
|
@ -249,6 +249,7 @@ public:
|
|||
wrapper->closure = closure;
|
||||
|
||||
hash_table_call_foreach(this->ht, subtract_one_wrapper, wrapper);
|
||||
free(wrapper);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue