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

Function xmlTextReaderFreePropList

ThirdParty/libxml2/vtklibxml2/xmlreader.c:295–304  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

293 * Free a property and all its siblings, all the children are freed too.
294 */
295static void
296xmlTextReaderFreePropList(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:

Callers 2

xmlTextReaderFreeNodeFunction · 0.85

Calls 1

xmlTextReaderFreePropFunction · 0.85

Tested by

no test coverage detected