From 1ee6d71c1d771ab8a990ef427a59f54132910ac7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 Aug 2016 18:30:22 +0300 Subject: Add some cppcheck fixes. --- src/input/touch/touchmanager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/input') 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); -- cgit v1.2.3-70-g09d2