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

Function xmlDOMWrapFreeCtxt

ThirdParty/libxml2/vtklibxml2/tree.c:8021–8032  ·  view source on GitHub ↗

* xmlDOMWrapFreeCtxt: * @ctxt: the DOM-wrapper context * * Frees the DOM-wrapper context. */

Source from the content-addressed store, hash-verified

8019* Frees the DOM-wrapper context.
8020*/
8021void
8022xmlDOMWrapFreeCtxt(xmlDOMWrapCtxtPtr ctxt)
8023{
8024 if (ctxt == NULL)
8025 return;
8026 if (ctxt->namespaceMap != NULL)
8027 xmlDOMWrapNsMapFree((xmlNsMapPtr) ctxt->namespaceMap);
8028 /*
8029 * TODO: Store the namespace map in the context.
8030 */
8031 xmlFree(ctxt);
8032}
8033
8034/*
8035* xmlTreeLookupNsListByPrefix:

Callers

nothing calls this directly

Calls 1

xmlDOMWrapNsMapFreeFunction · 0.85

Tested by

no test coverage detected