aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/libcurl/libcurl-tutorial.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/libcurl-tutorial.3 b/docs/libcurl/libcurl-tutorial.3
index bb5f6628b..7bbdc8a4a 100644
--- a/docs/libcurl/libcurl-tutorial.3
+++ b/docs/libcurl/libcurl-tutorial.3
@@ -557,7 +557,7 @@ post handle:
curl_easy_perform(easyhandle); /* post away! */
curl_formfree(post); /* free post */
- curl_slist_free_all(post); /* free custom header list */
+ curl_slist_free_all(headers); /* free custom header list */
.fi
Since all options on an easyhandle are "sticky", they remain the same until