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

Function xmlXIncludeFreeRef

ThirdParty/libxml2/vtklibxml2/xinclude.c:222–233  ·  view source on GitHub ↗

* xmlXIncludeFreeRef: * @ref: the XInclude reference * * Free an XInclude reference */

Source from the content-addressed store, hash-verified

220 * Free an XInclude reference
221 */
222static void
223xmlXIncludeFreeRef(xmlXIncludeRefPtr ref) {
224 if (ref == NULL)
225 return;
226 if (ref->URI != NULL)
227 xmlFree(ref->URI);
228 if (ref->fragment != NULL)
229 xmlFree(ref->fragment);
230 if (ref->base != NULL)
231 xmlFree(ref->base);
232 xmlFree(ref);
233}
234
235/**
236 * xmlXIncludeNewContext:

Callers 4

xmlXIncludeFreeContextFunction · 0.85
xmlXIncludeAddNodeFunction · 0.85
xmlXIncludeRecurseDocFunction · 0.85
xmlXIncludeDoProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected