aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/shared/util.pri
diff options
context:
space:
mode:
authorJeremy Powell <jeremy@visionaid.com>2019-04-18 15:59:50 +1200
committerJan Arve Sæther <jan-arve.saether@qt.io>2019-04-24 09:01:16 +0000
commit2cd99e2b69779c12309dd454584aa9546029323e (patch)
treecc93bcb5cf8cf29425932f9fef59b62ab242f702 /tests/auto/shared/util.pri
parentc642f44448752972f89a121b125873f187e088b3 (diff)
Fix memory leak with QQuickEventPoint
Store PointVelocityData by value in the QMap to avoid leaking memory. This also appears to be slightly faster than heap allocation, with the struct being relatively small (24 or 32 bytes depending on qreal). Fixes: QTBUG-73182 Change-Id: Ibd9374746b76fd5b78c23283d278b6af42907c96 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/auto/shared/util.pri')
0 files changed, 0 insertions, 0 deletions