From: Tilman Sauerbeck Date: Sun, 31 Oct 2010 14:51:55 +0000 (+0100) Subject: r600g: Destroy the winsys in r600_destroy_screen(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52ba68d0b071620c891122d8049ec77568aa8d19;p=mesa.git r600g: Destroy the winsys in r600_destroy_screen(). Signed-off-by: Tilman Sauerbeck --- 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); }