<pclass="level0">curl_formfree() is used to clean up data previously built/appended with <aclass="emphasis"href="./curl_formadd.html">curl_formadd(3)</a>. This must be called when the data has been used, which typically means after <aclass="emphasis"href="./curl_easy_perform.html">curl_easy_perform(3)</a> has been called.
<pclass="level0">The pointer to free is the same pointer you passed to the <spanClass="bold">CURLOPT_HTTPPOST</span> option, which is the <spanClass="emphasis">firstitem</span> pointer from the <aclass="emphasis"href="./curl_formadd.html">curl_formadd(3)</a> invoke(s).
<pclass="level0"><spanClass="bold">form</span> is the pointer as returned from a previous call to <aclass="emphasis"href="./curl_formadd.html">curl_formadd(3)</a> and may be NULL. <aname="RETURN"></a><h2class="nroffsh">RETURN VALUE</h2>