aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_easy_cleanup.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-08-09 16:37:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-08-10 00:24:12 +0200
commit6fac5a3e65217f1686927ecc8eda567888b29d4f (patch)
treef61fa4402d46d3368e81fd515a0e93ecc2713ccc /docs/libcurl/curl_easy_cleanup.3
parentc817a3b64c15c5ee50c8defab7ef7248a7bfc0ce (diff)
docs: mention NULL is fine input to several functions
Fixes #2837 Closes #2858 Reported-by: Markus Elfring
Diffstat (limited to 'docs/libcurl/curl_easy_cleanup.3')
-rw-r--r--docs/libcurl/curl_easy_cleanup.35
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/libcurl/curl_easy_cleanup.3 b/docs/libcurl/curl_easy_cleanup.3
index a6969a026..626d98c51 100644
--- a/docs/libcurl/curl_easy_cleanup.3
+++ b/docs/libcurl/curl_easy_cleanup.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2015, 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
@@ -47,6 +47,9 @@ Any use of the \fBhandle\fP after this function has been called and have
returned, is illegal. \fIcurl_easy_cleanup(3)\fP kills the handle and all
memory associated with it!
+Passing in a NULL pointer in \fIhandle\fP will make this function return
+immediately with no action.
+.SH "OLD TIMES"
For libcurl versions before 7.17,: after you've called this function, you can
safely remove all the strings you've previously told libcurl to use, as it
won't use them anymore now.