curl_slist_free_all (3) - Linux Manuals
curl_slist_free_all: free an entire curl_slist list
NAME
curl_slist_free_all - free an entire curl_slist listSYNOPSIS
#include <curl/curl.h>void curl_slist_free_all(struct curl_slist *list);
void curl_slist_free_all(struct curl_slist *list);