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

Function xmlFreeURI

ThirdParty/libxml2/vtklibxml2/uri.c:1443–1457  ·  view source on GitHub ↗

* xmlFreeURI: * @uri: pointer to an xmlURI * * Free up the xmlURI struct */

Source from the content-addressed store, hash-verified

1441 * Free up the xmlURI struct
1442 */
1443void
1444xmlFreeURI(xmlURIPtr uri) {
1445 if (uri == NULL) return;
1446
1447 if (uri->scheme != NULL) xmlFree(uri->scheme);
1448 if (uri->server != NULL) xmlFree(uri->server);
1449 if (uri->user != NULL) xmlFree(uri->user);
1450 if (uri->path != NULL) xmlFree(uri->path);
1451 if (uri->fragment != NULL) xmlFree(uri->fragment);
1452 if (uri->opaque != NULL) xmlFree(uri->opaque);
1453 if (uri->authority != NULL) xmlFree(uri->authority);
1454 if (uri->query != NULL) xmlFree(uri->query);
1455 if (uri->query_raw != NULL) xmlFree(uri->query_raw);
1456 xmlFree(uri);
1457}
1458
1459/************************************************************************
1460 * *

Callers 15

getRealPathMethod · 0.85
SAX2.cFile · 0.85
xmlNanoFTPScanURLFunction · 0.85
xmlNanoFTPUpdateURLFunction · 0.85
xmlNanoFTPScanProxyFunction · 0.85
xmlParseStartTag2Function · 0.85
xmlSchemaValAtomicTypeFunction · 0.85
xmlXIncludeAddNodeFunction · 0.85
handleURIFunction · 0.85
xmlParseURISafeFunction · 0.85
xmlParseURIRawFunction · 0.85

Calls

no outgoing calls

Tested by 1

handleURIFunction · 0.68