summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}