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

Function xmlFreeStreamCtxt

ThirdParty/libxml2/vtklibxml2/pattern.c:1717–1728  ·  view source on GitHub ↗

* xmlFreeStreamCtxt: * @stream: the stream context * * Free the stream context */

Source from the content-addressed store, hash-verified

1715 * Free the stream context
1716 */
1717void
1718xmlFreeStreamCtxt(xmlStreamCtxtPtr stream) {
1719 xmlStreamCtxtPtr next;
1720
1721 while (stream != NULL) {
1722 next = stream->next;
1723 if (stream->states != NULL)
1724 xmlFree(stream->states);
1725 xmlFree(stream);
1726 stream = next;
1727 }
1728}
1729
1730/**
1731 * xmlStreamCtxtAddState:

Callers 9

processNodeFunction · 0.85
streamFileFunction · 0.85
walkDocFunction · 0.85
xmlXPathRunStreamEvalFunction · 0.85
xmlPatternGetStreamCtxtFunction · 0.85
patternNodeFunction · 0.85
patternTestFunction · 0.85

Calls

no outgoing calls

Tested by 2

patternNodeFunction · 0.68
patternTestFunction · 0.68