summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/platforms/xcb/qxcbconnection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.cpp b/src/plugins/platforms/xcb/qxcbconnection.cpp
index 7c05d4ddd1..22cbe10cfa 100644
--- a/src/plugins/platforms/xcb/qxcbconnection.cpp
+++ b/src/plugins/platforms/xcb/qxcbconnection.cpp
@@ -471,6 +471,8 @@ void QXcbConnection::processXcbEvents()
printXcbEvent("Handled XCB event", event);
else
printXcbEvent("Unhandled XCB event", event);
+
+ free(event);
}
xcb_flush(xcb_connection());