summaryrefslogtreecommitdiff
path: root/expat/xmlwf/xmlwf.c
diff options
context:
space:
mode:
Diffstat (limited to 'expat/xmlwf/xmlwf.c')
-rw-r--r--expat/xmlwf/xmlwf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/expat/xmlwf/xmlwf.c b/expat/xmlwf/xmlwf.c
index 29118bb6..b6f300b0 100644
--- a/expat/xmlwf/xmlwf.c
+++ b/expat/xmlwf/xmlwf.c
@@ -1175,9 +1175,9 @@ tmain(int argc, XML_Char **argv) {
if (! userData.fp) {
tperror(outName);
exitCode = XMLWF_EXIT_OUTPUT_ERROR;
+ free(outName);
+ XML_ParserFree(parser);
if (continueOnError) {
- free(outName);
- cleanupUserData(&userData);
continue;
} else {
break;