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

Function xmlSchematronFreeTests

ThirdParty/libxml2/vtklibxml2/schematron.c:413–428  ·  view source on GitHub ↗

* xmlSchematronFreeTests: * @tests: a list of tests * * Free a list of tests. */

Source from the content-addressed store, hash-verified

411 * Free a list of tests.
412 */
413static void
414xmlSchematronFreeTests(xmlSchematronTestPtr tests) {
415 xmlSchematronTestPtr next;
416
417 while (tests != NULL) {
418 next = tests->next;
419 if (tests->test != NULL)
420 xmlFree(tests->test);
421 if (tests->comp != NULL)
422 xmlXPathFreeCompExpr(tests->comp);
423 if (tests->report != NULL)
424 xmlFree(tests->report);
425 xmlFree(tests);
426 tests = next;
427 }
428}
429
430/**
431 * xmlSchematronFreeLets:

Callers 1

xmlSchematronFreeRulesFunction · 0.85

Calls 1

xmlXPathFreeCompExprFunction · 0.85

Tested by

no test coverage detected