diff options
author | Tilman Sauerbeck <[email protected]> | 2010-10-31 15:51:55 +0100 |
---|---|---|
committer | Tilman Sauerbeck <[email protected]> | 2010-11-02 21:52:39 +0100 |
commit | 52ba68d0b071620c891122d8049ec77568aa8d19 (patch) | |
tree | 796ed2520053049a01ef51dbff2e4832fd94c1c8 /src/gallium/drivers/r600/r600_pipe.c | |
parent | 907efeea18efcbb037f19de9eb563a355c92affb (diff) |
r600g: Destroy the winsys in r600_destroy_screen().
Signed-off-by: Tilman Sauerbeck <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | 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 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); } |