diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-12-10 10:26:42 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-12-10 10:26:42 +0000 |
commit | 91b955c1af5636a0765201c32180cfc67ee426a8 (patch) | |
tree | 139e6430eab268de87c105486ec3ee3311420c48 /valid.c | |
parent | ad0e67c57f26f691fc120d5c5336cee9885cf324 (diff) | |
download | libxml2-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |