diff options
author | Marek Olšák <[email protected]> | 2013-01-31 15:29:16 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-01-31 15:35:18 +0100 |
commit | 5c86a728d4f688c0fe7fbf9f4b8f88060b65c4ee (patch) | |
tree | 45729ebeda7d1a2845470bf0ee39bfeacffcdc73 /src/gallium/drivers/r600 | |
parent | 6ea753b0562c4b59b635ed63abb0bf9fe64d6578 (diff) |
r600g: fix htile buffer leak
NOTE: This is a candidate for the 9.1 branch.
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_texture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 1d04cc06014..85fc887971d 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -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); } |