projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea753b
)
r600g: fix htile buffer leak
author
Marek Olšák
<maraeo@gmail.com>
Thu, 31 Jan 2013 14:29:16 +0000
(15:29 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Thu, 31 Jan 2013 14:35:18 +0000
(15:35 +0100)
NOTE: This is a candidate for the 9.1 branch.
src/gallium/drivers/r600/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_texture.c
b/src/gallium/drivers/r600/r600_texture.c
index 1d04cc06014a1dced9c0f3a1d90a731dc110bb73..85fc887971dd48e186143043fe3f7747fec0631c 100644
(file)
--- 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);
}