projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
573b441
)
fix mem leaks
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 26 Dec 2007 13:56:58 +0000
(06:56 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 1 Jan 2008 17:21:21 +0000
(10:21 -0700)
src/mesa/pipe/xlib/xm_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/xlib/xm_api.c
b/src/mesa/pipe/xlib/xm_api.c
index ebf4c21eaf604ae45a9a77314e70abb9c580c8c1..168eba078434215606adf4ce216228a87d5f213e 100644
(file)
--- a/
src/mesa/pipe/xlib/xm_api.c
+++ b/
src/mesa/pipe/xlib/xm_api.c
@@
-447,6
+447,10
@@
xmesa_free_buffer(XMesaBuffer buffer)
/* Unreference. If count = zero we'll really delete the buffer */
_mesa_unreference_framebuffer(&fb);
+ XFreeGC(b->xm_visual->display, b->gc);
+
+ free(buffer);
+
return;
}
/* continue search */