* xmlFreeStreamComp: * @comp: the compiled pattern for streaming * * Free the compiled pattern for streaming */
| 1450 | * Free the compiled pattern for streaming |
| 1451 | */ |
| 1452 | static void |
| 1453 | xmlFreeStreamComp(xmlStreamCompPtr comp) { |
| 1454 | if (comp != NULL) { |
| 1455 | if (comp->steps != NULL) |
| 1456 | xmlFree(comp->steps); |
| 1457 | if (comp->dict != NULL) |
| 1458 | xmlDictFree(comp->dict); |
| 1459 | xmlFree(comp); |
| 1460 | } |
| 1461 | } |
| 1462 | |
| 1463 | /** |
| 1464 | * xmlStreamCompAddStep: |
no test coverage detected