aboutsummaryrefslogtreecommitdiff
path: root/common/xmlparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/xmlparser.cpp')
-rw-r--r--common/xmlparser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/xmlparser.cpp b/common/xmlparser.cpp
index 6c6bc4b7f8..900f2f81ab 100644
--- a/common/xmlparser.cpp
+++ b/common/xmlparser.cpp
@@ -191,6 +191,9 @@ bool XMLParser::parse() {
if (_XMLkeys == 0)
buildLayout();
+ while (!_activeKey.empty())
+ delete _activeKey.pop();
+
cleanup();
bool activeClosure = false;