mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 02:40:11 +01:00
iris: Unref unbound_tex resource
Plugs a 12536 byte leak
This commit is contained in:
parent
f73fdb4001
commit
6cb211121b
1 changed files with 2 additions and 0 deletions
|
|
@ -4746,6 +4746,8 @@ iris_destroy_state(struct iris_context *ice)
|
|||
}
|
||||
free(ice->state.genx);
|
||||
|
||||
pipe_resource_reference(&ice->state.unbound_tex.res, NULL);
|
||||
|
||||
pipe_resource_reference(&ice->state.last_res.cc_vp, NULL);
|
||||
pipe_resource_reference(&ice->state.last_res.sf_cl_vp, NULL);
|
||||
pipe_resource_reference(&ice->state.last_res.color_calc, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue