From 52ba68d0b071620c891122d8049ec77568aa8d19 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 31 Oct 2010 15:51:55 +0100 Subject: [PATCH] r600g: Destroy the winsys in r600_destroy_screen(). Signed-off-by: Tilman Sauerbeck --- src/gallium/drivers/r600/r600_pipe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 952c7f6b87f..55370f06fd8 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); } -- 2.30.2