From: Johann150 Date: Sat, 24 Apr 2021 15:13:07 +0000 (+0200) Subject: curl_url_set.3: add memory management information X-Git-Tag: curl-7_77_0~134 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68f6c56396aa7afb9b732f28f5b1e881247a2d03;p=thirdparty%2Fcurl.git curl_url_set.3: add memory management information wording taken from man page for CURLOPT_URL.3 As far as I can see, the URL part is either malloc'ed before due to encoding or it is strdup'ed. Closes #6953 --- diff --git a/docs/libcurl/curl_url_set.3 b/docs/libcurl/curl_url_set.3 index 88139bd2c6..8d77a8a031 100644 --- a/docs/libcurl/curl_url_set.3 +++ b/docs/libcurl/curl_url_set.3 @@ -39,6 +39,9 @@ below) to set or change, with \fIcontent\fP pointing to a null-terminated string with the new contents for that URL part. The contents should be in the form and encoding they'd use in a URL: URL encoded. +The application does not have to keep \fIcontent\fP around after a successful +call. + Setting a part to a NULL pointer will effectively remove that part's contents from the CURLU handle.