aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r600/r600_texture.c')
-rw-r--r--src/gallium/drivers/r600/r600_texture.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c
index b41d7a3b00b..7d94bbe510f 100644
--- a/src/gallium/drivers/r600/r600_texture.c
+++ b/src/gallium/drivers/r600/r600_texture.c
@@ -113,7 +113,6 @@ static void r600_texture_destroy(struct pipe_screen *screen,
{
struct r600_texture *rtex = (struct r600_texture*)ptex;
- pipe_resource_reference((struct pipe_resource**)&rtex, NULL);
FREE(rtex);
}