* xmlSchematronFreeLets: * @lets: a list of let variables * * Free a list of let variables. */
| 434 | * Free a list of let variables. |
| 435 | */ |
| 436 | static void |
| 437 | xmlSchematronFreeLets(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: |
no test coverage detected