mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-27 11:00:37 +02:00
r600g: fix htile buffer leak
NOTE: This is a candidate for the 9.1 branch.
This commit is contained in:
parent
6ea753b056
commit
5c86a728d4
1 changed files with 1 additions and 0 deletions
|
|
@ -270,6 +270,7 @@ static void r600_texture_destroy(struct pipe_screen *screen,
|
|||
if (rtex->flushed_depth_texture)
|
||||
pipe_resource_reference((struct pipe_resource **)&rtex->flushed_depth_texture, NULL);
|
||||
|
||||
pipe_resource_reference((struct pipe_resource**)&rtex->htile, NULL);
|
||||
pb_reference(&resource->buf, NULL);
|
||||
FREE(rtex);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue