1curl_formfree(3) libcurl Manual curl_formfree(3)
2
3
4
6 curl_formfree - free a previously build multipart/formdata HTTP POST
7 chain
8
10 #include <curl/curl.h>
11
12 void curl_formfree(struct curl_httppost *form);
13
15 curl_formfree() is used to clean up data previously built/appended with
16 curl_formadd(3). This must be called when the data has been used, which
17 typically means after curl_easy_perform(3) has been called.
18
19 The pointer to free is the same pointer you passed to the CURLOPT_HTTP‐
20 POST option, which is the firstitem pointer from the curl_formadd(3)
21 invoke(s).
22
23 form is the pointer as returned from a previous call to curl_formadd(3)
24 and may be NULL.
25
27 None
28
30 curl_formadd(3)
31
32
33
34libcurl 7.7.1 6 April 2001 curl_formfree(3)