diff options
author | Brian <brian@yutani.localnet.net> | 2007-02-01 07:22:25 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-02-01 07:22:25 -0700 |
commit | 0930248bb1336064337e636aab0f17ee0f8f7043 (patch) | |
tree | bd166b54b17a473cb87fa72ba175544a84c457f3 /src/glx | |
parent | 876e372567ad44c03b9d9db6e57d3a06b684f6e1 (diff) |
fix mem leak in __glXReportDamage (Panagiotis Papadakos)
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/x11/glxext.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index 7f3857360d..d24f853d54 100644 --- 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 |