mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
docs: document that curl_url_cleanup(NULL) is a safe no-op
This has always been the case, but it was not documented. The paragraph was copied verbatim from curl_easy_cleanup.3 Closes #11150
This commit is contained in:
parent
d65321f939
commit
fbe23b5797
@ -32,6 +32,9 @@ void curl_url_cleanup(CURLU *handle);
|
|||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Frees all the resources associated with the given \fICURLU\fP handle!
|
Frees all the resources associated with the given \fICURLU\fP handle!
|
||||||
|
|
||||||
|
Passing in a NULL pointer in \fIhandle\fP will make this function return
|
||||||
|
immediately with no action.
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
.nf
|
.nf
|
||||||
CURLU *url = curl_url();
|
CURLU *url = curl_url();
|
||||||
|
Loading…
Reference in New Issue
Block a user