diff --git a/docs/libcurl/libcurl-tutorial.3 b/docs/libcurl/libcurl-tutorial.3 index bb5f6628bd..7bbdc8a4af 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