summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-03 14:16:11 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-03 14:16:36 +0300
commit33c31fbec099fbd764505f0a1f9729634d13aac8 (patch)
tree2e81814ddfba8f78b84a6e743f405d2ed5940da5
parent5334fecf60a7cbad1ada8268b122bbce4af9b0d5 (diff)
downloadmv-33c31fbec099fbd764505f0a1f9729634d13aac8.tar.gz
mv-33c31fbec099fbd764505f0a1f9729634d13aac8.tar.bz2
mv-33c31fbec099fbd764505f0a1f9729634d13aac8.tar.xz
mv-33c31fbec099fbd764505f0a1f9729634d13aac8.zip
Last fix for now after Coverity checks.
-rw-r--r--src/touchmanager.cpp4
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;
}