summaryrefslogtreecommitdiff
path: root/valid.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-12-10 10:26:42 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-12-10 10:26:42 +0000
commit91b955c1af5636a0765201c32180cfc67ee426a8 (patch)
tree139e6430eab268de87c105486ec3ee3311420c48 /valid.c
parentad0e67c57f26f691fc120d5c5336cee9885cf324 (diff)
downloadlibxml2-91b955c1af5636a0765201c32180cfc67ee426a8.tar.gz
fixed ID deallocation problem based on patch from Steve Shepard fixes bug
* valid.c: fixed ID deallocation problem based on patch from Steve Shepard fixes bug #160893 * xmlmemory.c: improving comment. * testapi.c: new test for xmlDictExists() is generated. Daniel
Diffstat (limited to 'valid.c')
-rw-r--r--valid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/valid.c b/valid.c
index 9fafbbe3..28111a55 100644
--- a/valid.c
+++ b/valid.c
@@ -2639,7 +2639,7 @@ xmlRemoveID(xmlDocPtr doc, xmlAttrPtr attr) {
xmlFree(ID);
return(-1);
}
- xmlHashUpdateEntry(table, ID, NULL, (xmlHashDeallocator) xmlFreeID);
+ xmlHashRemoveEntry(table, ID, (xmlHashDeallocator) xmlFreeID);
xmlFree(ID);
return(0);
}