uri_destroy — free the resources used by a URI
URI parsing library (liburi, -luri)
#include <liburi.h>
int uri_destroy(
URI *uri)
;
The uri_destroy
function frees a URI, releasing
any resources used by it. The URI must previously have been created
using uri_create_str(3) or uri_create_uri(3).
If uri
is NULL
,
uri_destroy
does nothing, and returns successfully.
uri
The URI to free.
uri_destroy
always returns zero.
liburi(3), uri_create_str(3), uri_create_uri(3).