* xmlXIncludeFreeRef: * @ref: the XInclude reference * * Free an XInclude reference */
| 220 | * Free an XInclude reference |
| 221 | */ |
| 222 | static void |
| 223 | xmlXIncludeFreeRef(xmlXIncludeRefPtr ref) { |
| 224 | if (ref == NULL) |
| 225 | return; |
| 226 | if (ref->URI != NULL) |
| 227 | xmlFree(ref->URI); |
| 228 | if (ref->fragment != NULL) |
| 229 | xmlFree(ref->fragment); |
| 230 | if (ref->base != NULL) |
| 231 | xmlFree(ref->base); |
| 232 | xmlFree(ref); |
| 233 | } |
| 234 | |
| 235 | /** |
| 236 | * xmlXIncludeNewContext: |
no outgoing calls
no test coverage detected