Free an entire curl_slist list
#include <curl/curl.h>
void curl_slist_free_all(struct curl_slist *list);
curl_slist_free_all() removes all traces of a previously built curl_slist linked list.
Nothing.
curl_slist_append(3),