MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlFreeNs

Function xmlFreeNs

ThirdParty/libxml2/vtklibxml2/tree.c:801–809  ·  view source on GitHub ↗

* xmlFreeNs: * @cur: the namespace pointer * * Free an xmlNs object. */

Source from the content-addressed store, hash-verified

799 * Free an xmlNs object.
800 */
801void
802xmlFreeNs(xmlNsPtr cur) {
803 if (cur == NULL) {
804 return;
805 }
806 if (cur->href != NULL) xmlFree((char *) cur->href);
807 if (cur->prefix != NULL) xmlFree((char *) cur->prefix);
808 xmlFree(cur);
809}
810
811/**
812 * xmlFreeNsList:

Callers 8

xmlDumpXMLCatalogFunction · 0.85
xmlTextReaderFreeNodeFunction · 0.85
xmlNewNsFunction · 0.85
xmlFreeNsListFunction · 0.85
xmlFreeNodeFunction · 0.85
xmlNewXmlNsFunction · 0.85
xmlDOMWrapCloneNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected