* xmlTextReaderFreePropList: * @reader: the xmlTextReaderPtr used * @cur: the first property in the list * * Free a property and all its siblings, all the children are freed too. */
| 293 | * Free a property and all its siblings, all the children are freed too. |
| 294 | */ |
| 295 | static void |
| 296 | xmlTextReaderFreePropList(xmlTextReaderPtr reader, xmlAttrPtr cur) { |
| 297 | xmlAttrPtr next; |
| 298 | |
| 299 | while (cur != NULL) { |
| 300 | next = cur->next; |
| 301 | xmlTextReaderFreeProp(reader, cur); |
| 302 | cur = next; |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | /** |
| 307 | * xmlTextReaderFreeNodeList: |
no test coverage detected