Don't leak xcb events
Correctly free the xcb events delivered to the xcb plugin.
This commit is contained in:
parent
28ab03741e
commit
b03ed7b151
@ -471,6 +471,8 @@ void QXcbConnection::processXcbEvents()
|
|||||||
printXcbEvent("Handled XCB event", event);
|
printXcbEvent("Handled XCB event", event);
|
||||||
else
|
else
|
||||||
printXcbEvent("Unhandled XCB event", event);
|
printXcbEvent("Unhandled XCB event", event);
|
||||||
|
|
||||||
|
free(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
xcb_flush(xcb_connection());
|
xcb_flush(xcb_connection());
|
||||||
|
Loading…
Reference in New Issue
Block a user