* xmlFreeNsList: * @cur: the first namespace pointer * * Free a list of xmlNs objects. */
| 815 | * Free a list of xmlNs objects. |
| 816 | */ |
| 817 | void |
| 818 | xmlFreeNsList(xmlNsPtr cur) { |
| 819 | xmlNsPtr next; |
| 820 | if (cur == NULL) { |
| 821 | return; |
| 822 | } |
| 823 | while (cur != NULL) { |
| 824 | next = cur->next; |
| 825 | xmlFreeNs(cur); |
| 826 | cur = next; |
| 827 | } |
| 828 | } |
| 829 | |
| 830 | /** |
| 831 | * xmlNewDtd: |
no test coverage detected