* * * NOTATIONs * * * ************************************************************************/ * xmlFreeNotation: * @not: A notation * * Deallocate the memory used by an notation definition */
| 2032 | * Deallocate the memory used by an notation definition |
| 2033 | */ |
| 2034 | static void |
| 2035 | xmlFreeNotation(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 | /** |
no outgoing calls
no test coverage detected