mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-28 00:21:53 +03:00
Bug fixes, improvement on ID/IDREF support, 1.6.2, no memleaks, Daniel
This commit is contained in:
4
parser.c
4
parser.c
@ -3122,11 +3122,11 @@ xmlParseEntityDecl(xmlParserCtxtPtr ctxt) {
|
||||
if (isParameter) {
|
||||
if ((ctxt->sax != NULL) &&
|
||||
(ctxt->sax->getParameterEntity != NULL))
|
||||
cur = ctxt->sax->getParameterEntity(ctxt, name);
|
||||
cur = ctxt->sax->getParameterEntity(ctxt->userData, name);
|
||||
} else {
|
||||
if ((ctxt->sax != NULL) &&
|
||||
(ctxt->sax->getEntity != NULL))
|
||||
cur = ctxt->sax->getEntity(ctxt, name);
|
||||
cur = ctxt->sax->getEntity(ctxt->userData, name);
|
||||
}
|
||||
if (cur != NULL) {
|
||||
if (cur->orig != NULL)
|
||||
|
Reference in New Issue
Block a user