projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d25709d
)
egl: plug a small memleak
author
Zack Rusin
<zack@tungstengraphics.com>
Wed, 9 Jul 2008 14:20:28 +0000
(10:20 -0400)
committer
Zack Rusin
<zack@tungstengraphics.com>
Wed, 9 Jul 2008 14:20:28 +0000
(10:20 -0400)
src/gallium/winsys/egl_xlib/egl_xlib.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/egl_xlib/egl_xlib.c
b/src/gallium/winsys/egl_xlib/egl_xlib.c
index 83b8bb95b18f34fce50e2b9b55a07ddcd3632ccb..708a58b781f243a4cce9dbfe5d9645fed94f61a9 100644
(file)
--- a/
src/gallium/winsys/egl_xlib/egl_xlib.c
+++ b/
src/gallium/winsys/egl_xlib/egl_xlib.c
@@
-535,6
+535,7
@@
xlib_eglDestroySurface(_EGLDriver *drv, EGLDisplay dpy, EGLSurface surface)
surf->Base.DeletePending = EGL_TRUE;
}
else {
+ XFreeGC(surf->Dpy, surf->Gc);
st_unreference_framebuffer(&surf->Framebuffer);
free(surf);
}