1curl_url_cleanup(3) libcurl curl_url_cleanup(3)
2
3
4
6 curl_url_cleanup - free the URL handle
7
9 #include <curl/curl.h>
10
11 void curl_url_cleanup(CURLU *handle);
12
14 Frees all the resources associated with the given CURLU handle!
15
16 Passing in a NULL pointer in handle will make this function return im‐
17 mediately with no action.
18
20 CURLU *url = curl_url();
21 curl_url_set(url, CURLUPART_URL, "https://example.com", 0);
22 curl_url_cleanup(url);
23
25 Added in 7.62.0
26
28 none
29
31 curl_url_dup(3), curl_url(3), curl_url_set(3), curl_url_get(3), CUR‐
32 LOPT_CURLU(3),
33
34
35
36libcurl 8.2.1 May 19, 2023 curl_url_cleanup(3)