* Source/NSXMLNode.m: Revert doug's last change. The call

to xmlFreeDoc(..) crashes during testing.  I believe that
	xmlFreeNode(..) is sufficient.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34738 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2012-02-08 04:43:38 +00:00
parent dc1f08597a
commit 9191e41002
2 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2012-02-07 23:42-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLNode.m: Revert doug's last change. The call
to xmlFreeDoc(..) crashes during testing. I believe that
xmlFreeNode(..) is sufficient.
2012-02-07 Doug Simons <doug.simons@testplant.com>
* Source/win32/GSFileHandle.m: Fix some problems with the way socket

View file

@ -952,10 +952,7 @@ NSLog(@"RELEASING TRICKY EXTRA RETAIN in %@ now: %d", self, internal->externalRe
node->_private = NULL;
if (node && node->parent == NULL)
{
if (node->type == XML_DOCUMENT_NODE)
xmlFreeDoc((xmlDocPtr)node);
else
xmlFreeNode(node); // the top level node frees the entire tree
xmlFreeNode(node); // the top level node frees the entire tree
}
GS_DESTROY_INTERNAL(NSXMLNode);
}