diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-08-09 16:37:39 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-08-10 00:24:12 +0200 |
commit | 6fac5a3e65217f1686927ecc8eda567888b29d4f (patch) | |
tree | f61fa4402d46d3368e81fd515a0e93ecc2713ccc /docs/libcurl/curl_mime_free.3 | |
parent | c817a3b64c15c5ee50c8defab7ef7248a7bfc0ce (diff) | |
download | curl-6fac5a3e65217f1686927ecc8eda567888b29d4f.tar.gz |
docs: mention NULL is fine input to several functions
Fixes #2837
Closes #2858
Reported-by: Markus Elfring
Diffstat (limited to 'docs/libcurl/curl_mime_free.3')
-rw-r--r-- | docs/libcurl/curl_mime_free.3 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/libcurl/curl_mime_free.3 b/docs/libcurl/curl_mime_free.3 index 9394b5748..80a95486e 100644 --- a/docs/libcurl/curl_mime_free.3 +++ b/docs/libcurl/curl_mime_free.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -40,6 +40,8 @@ not be explicitly freed as they are by the top structure freeing. \fBmime\fP is the handle as returned from a previous call to \fIcurl_mime_init(3)\fP and may be NULL. +Passing in a NULL pointer in \fImime\fP will make this function return +immediately with no action. .SH AVAILABILITY As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. .SH RETURN VALUE |