diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-04-15 00:36:53 +0200 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:24:18 +0200 |
commit | c6abd1ac624f2bc1ba1e58c1b5291bf9f3db03ad (patch) | |
tree | 3fefbc437fbc275789cbfde0428d3dc86314edbd /test/integration | |
parent | c3b759273c95f9d38ecde2d36ecb0350f9cc4bff (diff) |
Fix memory leak in integration test program (damn C libraries!)
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/TestXmlParser.cpp | 1 |
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); } |