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

Function xmlXPathRegisteredVariablesCleanup

ThirdParty/libxml2/vtklibxml2/xpath.c:4187–4194  ·  view source on GitHub ↗

* xmlXPathRegisteredVariablesCleanup: * @ctxt: the XPath context * * Cleanup the XPath context data associated to registered variables */

Source from the content-addressed store, hash-verified

4185 * Cleanup the XPath context data associated to registered variables
4186 */
4187void
4188xmlXPathRegisteredVariablesCleanup(xmlXPathContextPtr ctxt) {
4189 if (ctxt == NULL)
4190 return;
4191
4192 xmlHashFree(ctxt->varHash, xmlXPathFreeObjectEntry);
4193 ctxt->varHash = NULL;
4194}
4195
4196/**
4197 * xmlXPathRegisterNs:

Callers 1

xmlXPathFreeContextFunction · 0.85

Calls 1

xmlHashFreeFunction · 0.85

Tested by

no test coverage detected