mirror of
https://github.com/curl/curl.git
synced 2026-05-30 04:27:30 +03: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
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ void curl_url_cleanup(CURLU *handle);
|
|||
.fi
|
||||
.SH DESCRIPTION
|
||||
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
|
||||
.nf
|
||||
CURLU *url = curl_url();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue