diff options
Diffstat (limited to 'lib/libX11/src/xcb_disp.c')
-rw-r--r-- | lib/libX11/src/xcb_disp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libX11/src/xcb_disp.c b/lib/libX11/src/xcb_disp.c index 70a602f4d..63e344af2 100644 --- a/lib/libX11/src/xcb_disp.c +++ b/lib/libX11/src/xcb_disp.c @@ -102,6 +102,10 @@ void _XFreeX11XCBStructure(Display *dpy) dpy->xcb->pending_requests = tmp->next; free(tmp); } + if (dpy->xcb->event_notify) + xcondition_clear(dpy->xcb->event_notify); + if (dpy->xcb->reply_notify) + xcondition_clear(dpy->xcb->reply_notify); xcondition_free(dpy->xcb->event_notify); xcondition_free(dpy->xcb->reply_notify); Xfree(dpy->xcb); |