diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-03 14:16:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-03 14:16:36 +0300 |
commit | 33c31fbec099fbd764505f0a1f9729634d13aac8 (patch) | |
tree | 2e81814ddfba8f78b84a6e743f405d2ed5940da5 /src | |
parent | 5334fecf60a7cbad1ada8268b122bbce4af9b0d5 (diff) | |
download | manaverse-33c31fbec099fbd764505f0a1f9729634d13aac8.tar.gz manaverse-33c31fbec099fbd764505f0a1f9729634d13aac8.tar.bz2 manaverse-33c31fbec099fbd764505f0a1f9729634d13aac8.tar.xz manaverse-33c31fbec099fbd764505f0a1f9729634d13aac8.zip |
Last fix for now after Coverity checks.
Diffstat (limited to 'src')
-rw-r--r-- | src/touchmanager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp index f18c8e12a..f8768c824 100644 --- a/src/touchmanager.cpp +++ b/src/touchmanager.cpp @@ -153,6 +153,10 @@ void TouchManager::loadTouchItem(TouchItem **item, std::string name, } theme->unload(skin); } + else + { + delete images; + } mRedraw = true; } |