summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index f8768c824..8f9f20964 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -151,6 +151,10 @@ void TouchManager::loadTouchItem(TouchItem **item, std::string name,
fAll, fPressed, fReleased, fOut);
mObjects.push_back(*item);
}
+ else
+ {
+ delete images;
+ }
theme->unload(skin);
}
else