Merge pull request #523 from bebehei/xfreegc

Fix X11 memoryleak for round corners
This commit is contained in:
Nikos Tsipinakis 2018-06-23 16:51:11 +03:00 committed by GitHub
commit 8b2d5c49ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,6 +141,7 @@ static void x_win_round_corners(window_x11 *win, const int rad)
XShapeCombineMask(xctx.dpy, win->xwin, ShapeBounding, 0, 0, mask, ShapeSet); XShapeCombineMask(xctx.dpy, win->xwin, ShapeBounding, 0, 0, mask, ShapeSet);
XFreeGC(xctx.dpy, shape_gc);
XFreePixmap(xctx.dpy, mask); XFreePixmap(xctx.dpy, mask);
XShapeSelectInput(xctx.dpy, XShapeSelectInput(xctx.dpy,