summaryrefslogtreecommitdiff
path: root/src/xcb_disp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xcb_disp.c')
-rw-r--r--src/xcb_disp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xcb_disp.c b/src/xcb_disp.c
index 70a602f4..e9becee3 100644
--- a/src/xcb_disp.c
+++ b/src/xcb_disp.c
@@ -102,6 +102,8 @@ void _XFreeX11XCBStructure(Display *dpy)
dpy->xcb->pending_requests = tmp->next;
free(tmp);
}
+ xcondition_clear(dpy->xcb->event_notify);
+ xcondition_clear(dpy->xcb->reply_notify);
xcondition_free(dpy->xcb->event_notify);
xcondition_free(dpy->xcb->reply_notify);
Xfree(dpy->xcb);