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

Function xmlFreeInputStream

ThirdParty/libxml2/vtklibxml2/parserInternals.c:1500–1511  ·  view source on GitHub ↗

* xmlFreeInputStream: * @input: an xmlParserInputPtr * * Free up an input stream. */

Source from the content-addressed store, hash-verified

1498 * Free up an input stream.
1499 */
1500void
1501xmlFreeInputStream(xmlParserInputPtr input) {
1502 if (input == NULL) return;
1503
1504 if (input->filename != NULL) xmlFree((char *) input->filename);
1505 if (input->version != NULL) xmlFree((char *) input->version);
1506 if ((input->free != NULL) && (input->base != NULL))
1507 input->free((xmlChar *) input->base);
1508 if (input->buf != NULL)
1509 xmlFreeParserInputBuffer(input->buf);
1510 xmlFree(input);
1511}
1512
1513/**
1514 * xmlNewInputStream:

Callers 15

xmlSAX2ExternalSubsetFunction · 0.85
htmlCtxtResetFunction · 0.85
htmlCtxtParseDocumentFunction · 0.85
xmlNewInputInternalFunction · 0.85
xmlNewInputPushFunction · 0.85
xmlCheckHTTPInputFunction · 0.85
xmlNewInputFromFileFunction · 0.85
xmlInitSAXParserCtxtFunction · 0.85
xmlFreeParserCtxtFunction · 0.85
xmlPopInputFunction · 0.85
xmlParsePEReferenceFunction · 0.85
xmlLoadEntityContentFunction · 0.85

Calls 1

xmlFreeParserInputBufferFunction · 0.85

Tested by

no test coverage detected