From 33c31fbec099fbd764505f0a1f9729634d13aac8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 3 Mar 2013 14:16:11 +0300 Subject: Last fix for now after Coverity checks. --- src/touchmanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/touchmanager.cpp') 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; } -- cgit v1.2.3-70-g09d2