xmllint: Fix memory leak in parseAndPrintFile

This commit is contained in:
Nick Wellnhofer 2025-01-17 23:03:20 +01:00
parent 9cfc723cad
commit 16286dea31

View File

@ -2132,7 +2132,7 @@ parseAndPrintFile(xmllintState *lint, const char *filename) {
}
if (xmlXIncludeProcessFlags(doc, lint->options) < 0) {
lint->progresult = XMLLINT_ERR_UNCLASS;
return;
goto done;
}
if ((lint->timing) && (lint->repeat == 1)) {
endTimer(lint, "Xinclude processing");