diff options
Diffstat (limited to 'src/input/touch')
-rw-r--r-- | src/input/touch/touchmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/touch/touchmanager.cpp b/src/input/touch/touchmanager.cpp index 5c7de8189..85dce0f9a 100644 --- a/src/input/touch/touchmanager.cpp +++ b/src/input/touch/touchmanager.cpp @@ -74,7 +74,6 @@ TouchManager::TouchManager() : TouchManager::~TouchManager() { clear(); - delete2(mVertexes); CHECKLISTENERS } @@ -191,6 +190,7 @@ void TouchManager::clear() restrict2 FOR_EACH (TouchItemVectorCIter, it, mObjects) unload(*it); mObjects.clear(); + delete2(mVertexes); mRedraw = true; } |