Skip to main content

xmlFreeNode

Function xmlFreeNode 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlFreeNode(node: *mut _xmlNode)
Expand description

Free a node.

§UPSTREAM-PARITY

void xmlFreeNode(xmlNodePtr node);

§SAFETY

  • node must be a valid node pointer or NULL.
  • The node must NOT be part of a document tree (must be unlinked first).