]> granicus.if.org Git - libexpat/commitdiff
runtests.c: Fix memleaks
authorSebastian Pipping <sebastian@pipping.org>
Sat, 22 Jul 2017 19:28:20 +0000 (21:28 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Sat, 22 Jul 2017 19:28:20 +0000 (21:28 +0200)
expat/tests/runtests.c

index 567495b148f0712b27b08b5e97d7e48126793afa..8f56f4bfe95e9dca0097c04c82fec59ef2273900 100644 (file)
@@ -3692,6 +3692,8 @@ external_entity_valuer(XML_Parser parser,
                                     XML_TRUE) == XML_STATUS_ERROR)
             xml_failure(ext_parser);
     }
+
+    XML_ParserFree(ext_parser);
     return XML_STATUS_OK;
 }