summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2010-10-31 15:51:55 +0100
committerTilman Sauerbeck <tilman@code-monkey.de>2010-11-02 21:52:39 +0100
commit52ba68d0b071620c891122d8049ec77568aa8d19 (patch)
tree796ed2520053049a01ef51dbff2e4832fd94c1c8 /src/gallium/drivers/r600/r600_pipe.c
parent907efeea18efcbb037f19de9eb563a355c92affb (diff)
downloadexternal_mesa3d-52ba68d0b071620c891122d8049ec77568aa8d19.zip
external_mesa3d-52ba68d0b071620c891122d8049ec77568aa8d19.tar.gz
external_mesa3d-52ba68d0b071620c891122d8049ec77568aa8d19.tar.bz2
r600g: Destroy the winsys in r600_destroy_screen().
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 952c7f6..55370f0 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -431,6 +431,9 @@ static void r600_destroy_screen(struct pipe_screen* pscreen)
if (rscreen == NULL)
return;
+
+ radeon_decref(rscreen->radeon);
+
FREE(rscreen);
}