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

Function xmlSchematronFreeLets

ThirdParty/libxml2/vtklibxml2/schematron.c:436–449  ·  view source on GitHub ↗

* xmlSchematronFreeLets: * @lets: a list of let variables * * Free a list of let variables. */

Source from the content-addressed store, hash-verified

434 * Free a list of let variables.
435 */
436static void
437xmlSchematronFreeLets(xmlSchematronLetPtr lets) {
438 xmlSchematronLetPtr next;
439
440 while (lets != NULL) {
441 next = lets->next;
442 if (lets->name != NULL)
443 xmlFree(lets->name);
444 if (lets->comp != NULL)
445 xmlXPathFreeCompExpr(lets->comp);
446 xmlFree(lets);
447 lets = next;
448 }
449}
450
451/**
452 * xmlSchematronAddRule:

Callers 1

xmlSchematronFreeRulesFunction · 0.85

Calls 1

xmlXPathFreeCompExprFunction · 0.85

Tested by

no test coverage detected