1curl_free(3) libcurl Manual curl_free(3)
2
3
4
6 curl_free - reclaim memory that has been obtained through a libcurl
7 call
8
10 #include <curl/curl.h>
11
12 void curl_free( char *ptr );
13
15 curl_free reclaims memory that has been obtained through a libcurl
16 call. Use curl_free(3) instead of free() to avoid anomalies that can
17 result from differences in memory management between your application
18 and libcurl.
19
20 Passing in a NULL pointer in ptr will make this function return immedi‐
21 ately with no action.
22
24 curl_easy_unescape(3), curl_easy_escape(3)
25
26
27
28libcurl 7.61.1 August 09, 2018 curl_free(3)