* xmlFreePropList: * @cur: the first attribute in the list * * Free an attribute list including all children. */
| 1901 | * Free an attribute list including all children. |
| 1902 | */ |
| 1903 | void |
| 1904 | xmlFreePropList(xmlAttrPtr cur) { |
| 1905 | xmlAttrPtr next; |
| 1906 | if (cur == NULL) return; |
| 1907 | while (cur != NULL) { |
| 1908 | next = cur->next; |
| 1909 | xmlFreeProp(cur); |
| 1910 | cur = next; |
| 1911 | } |
| 1912 | } |
| 1913 | |
| 1914 | /** |
| 1915 | * xmlFreeProp: |
no test coverage detected