projects
/
libexpat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58f34c1
)
Fix bug with tempPool after calling externalEntityRefHandler
author
James Clark
<jjc@jclark.com>
Thu, 22 Oct 1998 02:53:12 +0000
(
02:53
+0000)
committer
James Clark
<jjc@jclark.com>
Thu, 22 Oct 1998 02:53:12 +0000
(
02:53
+0000)
expat/xmlparse/xmlparse.c
patch
|
blob
|
history
diff --git
a/expat/xmlparse/xmlparse.c
b/expat/xmlparse/xmlparse.c
index c0b2c7606f5a26ef6e0bf6c227a6574d0c484787..24d8fc35a4215f167bb5580bead813050e28dcb6 100755
(executable)
--- a/
expat/xmlparse/xmlparse.c
+++ b/
expat/xmlparse/xmlparse.c
@@
-1048,6
+1048,7
@@
doContent(XML_Parser parser,
return XML_ERROR_NO_MEMORY;
if (!externalEntityRefHandler(parser, context, dtd.base, entity->systemId, entity->publicId))
return XML_ERROR_EXTERNAL_ENTITY_HANDLING;
+ poolDiscard(&tempPool);
}
else if (defaultHandler)
reportDefault(parser, enc, s, next);