% given string.
%
% An extended string is the string length, plus an extra MaxTextExtent space
-% to allow for the string to be activally worked on.
+% to allow for the string to be actively worked on.
%
% The returned string shoud be freed using DestoryString().
%
/*
Free root tag allocations.
*/
- return;
root=(XMLTreeRoot *) xml_info;
- for (i=NumberPredefinedEntities; root->entities[i]; i+=2)
+ for (i=NumberPredefinedEntities; root->entities[i] != (char *) NULL; i+=2)
root->entities[i+1]=DestroyString(root->entities[i+1]);
root->entities=(char **) RelinquishMagickMemory(root->entities);
for (i=0; root->attributes[i] != (char **) NULL; i++)
*node,
*previous;
- DestroyXMLTreeRoot(xml_info);
child->ordered=(XMLTreeInfo *) NULL;
child->sibling=(XMLTreeInfo *) NULL;
child->next=(XMLTreeInfo *) NULL;