xwayland: free xcb events

This commit is contained in:
Dominique Martinet 2017-08-27 22:30:37 +02:00
parent 871646d225
commit c278b6fd52

View file

@ -211,6 +211,7 @@ static int x11_event_handler(int fd, uint32_t mask, void *data) {
event->response_type & XCB_EVENT_RESPONSE_TYPE_MASK); event->response_type & XCB_EVENT_RESPONSE_TYPE_MASK);
break; break;
} }
free(event);
} }
xcb_flush(xwm->xcb_conn); xcb_flush(xwm->xcb_conn);