mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 20:25:14 +03:00
Fix a couple of return without value
Error introduced in previous commit !
This commit is contained in:
parent
b123711189
commit
9ca816b3a6
4
parser.c
4
parser.c
@ -7784,7 +7784,7 @@ xmlParseStringEntityRef(xmlParserCtxtPtr ctxt, const xmlChar ** str) {
|
||||
}
|
||||
if (ctxt->instate == XML_PARSER_EOF) {
|
||||
xmlFree(name);
|
||||
return;
|
||||
return(NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -8189,7 +8189,7 @@ xmlParseStringPEReference(xmlParserCtxtPtr ctxt, const xmlChar **str) {
|
||||
entity = ctxt->sax->getParameterEntity(ctxt->userData, name);
|
||||
if (ctxt->instate == XML_PARSER_EOF) {
|
||||
xmlFree(name);
|
||||
return;
|
||||
return(NULL);
|
||||
}
|
||||
if (entity == NULL) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user