summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-04-10 10:02:29 +0100
committerJosé Fonseca <[email protected]>2009-04-10 13:26:34 +0100
commitf14497a9cd160106bd69ed37a89e24c77050a394 (patch)
tree4f8087b9b25e753ec4f18266457d4cb9ce2afcc0 /src/gallium/state_trackers/wgl
parent5fae9514c235cc5590f15fd802bd762107fc689d (diff)
stw: Free the mesa framebuffer.
Diffstat (limited to 'src/gallium/state_trackers/wgl')
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_framebuffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
index fcfd44e3991..55dc9d678c1 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
@@ -235,6 +235,8 @@ stw_framebuffer_destroy(
pipe_mutex_unlock( stw_dev->mutex );
+ st_unreference_framebuffer(fb->stfb);
+
FREE( fb );
}