summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-22 18:30:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-22 18:30:22 +0300
commit1ee6d71c1d771ab8a990ef427a59f54132910ac7 (patch)
tree39c63dab7d76356a588ea2202427b29d50e1e7dd /src/input
parent7f72738f54abef2ec0ae080b58bbfde1c3c02c36 (diff)
downloadmv-1ee6d71c1d771ab8a990ef427a59f54132910ac7.tar.gz
mv-1ee6d71c1d771ab8a990ef427a59f54132910ac7.tar.bz2
mv-1ee6d71c1d771ab8a990ef427a59f54132910ac7.tar.xz
mv-1ee6d71c1d771ab8a990ef427a59f54132910ac7.zip
Add some cppcheck fixes.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/touch/touchmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/touch/touchmanager.cpp b/src/input/touch/touchmanager.cpp
index be6dd072d..28929db19 100644
--- a/src/input/touch/touchmanager.cpp
+++ b/src/input/touch/touchmanager.cpp
@@ -86,6 +86,7 @@ void TouchManager::shutdown() restrict2
void TouchManager::init() restrict2
{
+ delete mVertexes;
mVertexes = new ImageCollection;
config.addListener("showScreenJoystick", this);