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

Function xmlFreeNotation

ThirdParty/libxml2/vtklibxml2/valid.c:2034–2044  ·  view source on GitHub ↗

* * * NOTATIONs * * * ************************************************************************/ * xmlFreeNotation: * @not: A notation * * Deallocate the memory used by an notation definition */

Source from the content-addressed store, hash-verified

2032 * Deallocate the memory used by an notation definition
2033 */
2034static void
2035xmlFreeNotation(xmlNotationPtr nota) {
2036 if (nota == NULL) return;
2037 if (nota->name != NULL)
2038 xmlFree((xmlChar *) nota->name);
2039 if (nota->PublicID != NULL)
2040 xmlFree((xmlChar *) nota->PublicID);
2041 if (nota->SystemID != NULL)
2042 xmlFree((xmlChar *) nota->SystemID);
2043 xmlFree(nota);
2044}
2045
2046
2047/**

Callers 3

xmlAddNotationDeclFunction · 0.85
xmlCopyNotationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected