diff --git a/src/framework/platform/x11window.cpp b/src/framework/platform/x11window.cpp index 76c71f1f..2400babe 100644 --- a/src/framework/platform/x11window.cpp +++ b/src/framework/platform/x11window.cpp @@ -605,6 +605,7 @@ void X11Window::poll() case KeyRelease: { KeySym keysym; char buf[32]; + memset(buf, 0, 32); int len; m_inputEvent.keyboardModifiers = 0;