projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
876e372
)
fix mem leak in __glXReportDamage (Panagiotis Papadakos)
author
Brian
<brian@yutani.localnet.net>
Thu, 1 Feb 2007 14:22:25 +0000
(07:22 -0700)
committer
Brian
<brian@yutani.localnet.net>
Thu, 1 Feb 2007 14:22:25 +0000
(07:22 -0700)
src/glx/x11/glxext.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/glxext.c
b/src/glx/x11/glxext.c
index 7f3857360d0e91b1473b22dd61015b6779378b8d..d24f853d546dcd0d99dd050bafcac7ffd7170324 100644
(file)
--- a/
src/glx/x11/glxext.c
+++ b/
src/glx/x11/glxext.c
@@
-758,6
+758,7
@@
static void __glXReportDamage(__DRInativeDisplay *dpy, int screen,
xrects[i].height = rects[i].y2 - rects[i].y1;
}
region = XFixesCreateRegion(dpy, xrects, num_rects);
+ free(xrects);
XDamageAdd(dpy, drawable, region);
XFixesDestroyRegion(dpy, region);
#endif