stw: Free the mesa framebuffer.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 10 Apr 2009 09:02:29 +0000 (10:02 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 10 Apr 2009 12:26:34 +0000 (13:26 +0100)
src/gallium/state_trackers/wgl/shared/stw_framebuffer.c

index fcfd44e399139c3c89664b4f55ed4abfb7678cf1..55dc9d678c13665fbfb377877e82cb0c477c65e7 100644 (file)
@@ -235,6 +235,8 @@ stw_framebuffer_destroy(
 
    pipe_mutex_unlock( stw_dev->mutex );
 
+   st_unreference_framebuffer(fb->stfb);
+   
    FREE( fb );
 }