summaryrefslogtreecommitdiff
path: root/test/integration/TestXmlParser.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-04-15 00:36:53 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:24:18 +0200
commitc6abd1ac624f2bc1ba1e58c1b5291bf9f3db03ad (patch)
tree3fefbc437fbc275789cbfde0428d3dc86314edbd /test/integration/TestXmlParser.cpp
parentc3b759273c95f9d38ecde2d36ecb0350f9cc4bff (diff)
Fix memory leak in integration test program (damn C libraries!)
Diffstat (limited to 'test/integration/TestXmlParser.cpp')
-rw-r--r--test/integration/TestXmlParser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/TestXmlParser.cpp b/test/integration/TestXmlParser.cpp
index a3d4563..149b921 100644
--- a/test/integration/TestXmlParser.cpp
+++ b/test/integration/TestXmlParser.cpp
@@ -240,6 +240,7 @@ std::pair<bool, std::shared_ptr<XmlNode>> parseXml(
break;
}
}
+ XML_ParserFree(parser);
return std::pair<bool, std::shared_ptr<XmlNode>>(ok, root);
}