mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
xmllint: Fix memory leak in parseAndPrintFile
This commit is contained in:
parent
9cfc723cad
commit
16286dea31
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user