From: José Fonseca Date: Fri, 10 Apr 2009 09:02:29 +0000 (+0100) Subject: stw: Free the mesa framebuffer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f14497a9cd160106bd69ed37a89e24c77050a394;p=mesa.git stw: Free the mesa framebuffer. --- 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 ); }