#include <curl/curl.h> void curl_easy_cleanup(CURL * handle);
|handle||Handle to a curl session.|
This function must be the last function to call for an easy session. It is the opposite of the
curl_easy_init function and must be called with the same handle as input that the
curl_easy_init call returned.
Effectively closes all connections the handle has used, and possibly has kept open, until now. Do not call this function if you intend to transfer more files. Any usage of the handle after this function has been called is illegal. This kills the handle and all memory associated with it.
2013/05/08 Automated cleanup pass.
2012/05/04 Initial version.