[Mesa-dev] [PATCH 4/6] r600g: Destroy the winsys in r600_destroy_screen().
Tilman Sauerbeck
tilman at code-monkey.de
Sun Oct 31 09:38:56 PDT 2010
Signed-off-by: Tilman Sauerbeck <tilman at code-monkey.de>
---
src/gallium/drivers/r600/r600_pipe.c | 3 +++
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);
}
--
1.7.3.1
More information about the mesa-dev
mailing list