1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

parser: Fix error message in xmlParseCommentComplex

Fixes #421.
This commit is contained in:
Nick Wellnhofer
2022-11-04 14:03:31 +01:00
parent 1fa4d14fbe
commit a70f7d4715

View File

@@ -4807,7 +4807,7 @@ xmlParseCommentComplex(xmlParserCtxtPtr ctxt, xmlChar *buf,
if (!IS_CHAR(r)) {
xmlFatalErrMsgInt(ctxt, XML_ERR_INVALID_CHAR,
"xmlParseComment: invalid xmlChar value %d\n",
q);
r);
xmlFree (buf);
return;
}