Don't leak xcb events

Correctly free the xcb events delivered to
the xcb plugin.
This commit is contained in:
Lars Knoll 2011-05-25 21:50:18 +02:00
parent 28ab03741e
commit b03ed7b151

View File

@ -471,6 +471,8 @@ void QXcbConnection::processXcbEvents()
printXcbEvent("Handled XCB event", event);
else
printXcbEvent("Unhandled XCB event", event);
free(event);
}
xcb_flush(xcb_connection());