]> granicus.if.org Git - libexpat/commitdiff
runtests.c: Fix memleaks
authorSebastian Pipping <sebastian@pipping.org>
Sun, 16 Jul 2017 16:58:21 +0000 (18:58 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Sun, 16 Jul 2017 16:58:21 +0000 (18:58 +0200)
expat/tests/runtests.c

index 45d22c23ea6aed91e5789ce589fd8dfa8062fd8c..7fa3e798e9c5fabe5f45d8cb8adf6844f9d4a7a7 100644 (file)
@@ -2778,6 +2778,7 @@ external_entity_ref_param_checker(XML_Parser parameter,
                                 XML_TRUE) == XML_STATUS_ERROR)
         xml_failure(ext_parser);
 
+    XML_ParserFree(ext_parser);
     return XML_STATUS_OK;
 }