summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-05 21:09:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-05 21:09:49 +0300
commite39429ce4e219bd577f1adb2c98f04e614b57ceb (patch)
tree6ca7388440dd43d5a072916b28407fb58d250cbb /src/touchmanager.cpp
parentbef65b44075a5c918821f1360804ff5f9f2a32ed (diff)
downloadplus-e39429ce4e219bd577f1adb2c98f04e614b57ceb.tar.gz
plus-e39429ce4e219bd577f1adb2c98f04e614b57ceb.tar.bz2
plus-e39429ce4e219bd577f1adb2c98f04e614b57ceb.tar.xz
plus-e39429ce4e219bd577f1adb2c98f04e614b57ceb.zip
Fix termination memory leaks after adding batch draw.
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index 3b8c6e21b..3a022afc3 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -48,6 +48,8 @@ TouchManager::TouchManager() :
TouchManager::~TouchManager()
{
clear();
+ delete mVertexes;
+ mVertexes = nullptr;
}
void TouchManager::init()