Function free_node
Source pub unsafe fn free_node(node: *mut _xmlNode)
Expand description
Free a single node (without freeing children).
§UPSTREAM-PARITY
void xmlFreeNode(xmlNodePtr node);
Frees a node and its properties/namespaces, but NOT its children.
Children must be freed separately or reattached.
§SAFETY
node must be a valid pointer to an _xmlNode, or NULL.