* xmlFreePatternList: * @comp: an XSLT comp list * * Free up the memory allocated by all the elements of @comp */
| 266 | * Free up the memory allocated by all the elements of @comp |
| 267 | */ |
| 268 | void |
| 269 | xmlFreePatternList(xmlPatternPtr comp) { |
| 270 | xmlPatternPtr cur; |
| 271 | |
| 272 | while (comp != NULL) { |
| 273 | cur = comp; |
| 274 | comp = comp->next; |
| 275 | cur->next = NULL; |
| 276 | xmlFreePatternInternal(cur); |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | /** |
| 281 | * xmlNewPatParserContext: |
no test coverage detected