summaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_free.3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/curl_free.3')
-rw-r--r--docs/libcurl/curl_free.310
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/libcurl/curl_free.3 b/docs/libcurl/curl_free.3
index 68298d482..7558ab41c 100644
--- a/docs/libcurl/curl_free.3
+++ b/docs/libcurl/curl_free.3
@@ -34,6 +34,16 @@ differences in memory management between your application and libcurl.
Passing in a NULL pointer in \fIptr\fP will make this function return
immediately with no action.
+.SH EXAMPLE
+.nf
+ char *width = curl_getenv("COLUMNS");
+ if(width) {
+ /* it was set! */
+ curl_free(width);
+ }
+.fi
+.SH AVAILABILITY
+Always
.SH RETURN VALUE
None
.SH "SEE ALSO"