diff options
author | kwaclaw <kwaclaw> | 2004-03-15 00:34:12 +0000 |
---|---|---|
committer | kwaclaw <kwaclaw> | 2004-03-15 00:34:12 +0000 |
commit | 1b2e4718f17e3da7b39c8cd479a41a8efc0bf159 (patch) | |
tree | fa2f7d45a8dd13a746e7366aa81b25d8ad8e35d0 /lib/xmlparse.c | |
parent | 6e43ae338dcced19d36124fa68d4ceb43e1e263a (diff) | |
download | libexpat-1b2e4718f17e3da7b39c8cd479a41a8efc0bf159.tar.gz |
Fix for bug #916228.
Diffstat (limited to 'lib/xmlparse.c')
-rw-r--r-- | lib/xmlparse.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/xmlparse.c b/lib/xmlparse.c index 1cc9a2a..01c28f9 100644 --- a/lib/xmlparse.c +++ b/lib/xmlparse.c @@ -5400,9 +5400,7 @@ dtdCreate(const XML_Memory_Handling_Suite *ms) if (p == NULL) return p; poolInit(&(p->pool), ms); -#ifdef XML_DTD poolInit(&(p->entityValuePool), ms); -#endif /* XML_DTD */ hashTableInit(&(p->generalEntities), ms); hashTableInit(&(p->elementTypes), ms); hashTableInit(&(p->attributeIds), ms); @@ -5449,9 +5447,7 @@ dtdReset(DTD *p, const XML_Memory_Handling_Suite *ms) hashTableClear(&(p->attributeIds)); hashTableClear(&(p->prefixes)); poolClear(&(p->pool)); -#ifdef XML_DTD poolClear(&(p->entityValuePool)); -#endif /* XML_DTD */ p->defaultPrefix.name = NULL; p->defaultPrefix.binding = NULL; @@ -5492,9 +5488,7 @@ dtdDestroy(DTD *p, XML_Bool isDocEntity, const XML_Memory_Handling_Suite *ms) hashTableDestroy(&(p->attributeIds)); hashTableDestroy(&(p->prefixes)); poolDestroy(&(p->pool)); -#ifdef XML_DTD poolDestroy(&(p->entityValuePool)); -#endif /* XML_DTD */ if (isDocEntity) { ms->free_fcn(p->scaffIndex); ms->free_fcn(p->scaffold); |