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

Function xmlFreeCatalog

ThirdParty/libxml2/vtklibxml2/catalog.c:408–417  ·  view source on GitHub ↗

* xmlFreeCatalog: * @catal: a Catalog * * Free the memory allocated to a Catalog */

Source from the content-addressed store, hash-verified

406 * Free the memory allocated to a Catalog
407 */
408void
409xmlFreeCatalog(xmlCatalogPtr catal) {
410 if (catal == NULL)
411 return;
412 if (catal->xml != NULL)
413 xmlFreeCatalogEntryList(catal->xml);
414 if (catal->sgml != NULL)
415 xmlHashFree(catal->sgml, xmlFreeCatalogEntry);
416 xmlFree(catal);
417}
418
419/************************************************************************
420 * *

Callers 4

xmlLoadSGMLSuperCatalogFunction · 0.85
xmlLoadACatalogFunction · 0.85
xmlCatalogCleanupFunction · 0.85
mainFunction · 0.85

Calls 2

xmlFreeCatalogEntryListFunction · 0.85
xmlHashFreeFunction · 0.85

Tested by

no test coverage detected