diff options
-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 7f3857360d0..d24f853d546 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 |