diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c index 45addee8fab..503c04e107f 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_init.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c @@ -345,6 +345,7 @@ gallivm_remove_garbage_collector_callback(garbage_collect_callback_func func, if (cb->func == func && cb->cb_data == cb_data) { /* found, remove it */ remove_from_list(cb); + FREE(cb); return; } } |