Fixed memory leak in windowing system event handling
authorGunnar Sletta <gunnar.sletta@nokia.com>
Fri, 25 Nov 2011 12:28:12 +0000 (13:28 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 25 Nov 2011 13:41:26 +0000 (14:41 +0100)
commit32ce1172ba456be48163f76a5fbae82020b32a56
tree5a3409057f3efd1400a2468bab8cf0537e71178f
parent09404c072fec2e195d8114dc4d95ce3683c341cf
Fixed memory leak in windowing system event handling

processWindowSystemEvent does not delete the event, so
allocate it on the stack instead.

Change-Id: Iffda940ffc86ef1fabfbf101e08956fa07c49689
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/kernel/qwindowsysteminterface_qpa.cpp