On Tue, 17 May 2016, S. Gilles wrote:
The man-pages (for 7.48.0) seem to disagree on one point.
...
The page for curl_formfree(), however, implies that I can call curl_formfree() immediately after curl_easy_perform() returns.
That's the case, of course assuming you either won't use the handle again or set another pointer to it with another call to curl_easy_setopt(CURLOPT_HTTPPOST).
I updated the CURLOPT_HTTPPOST.3 man page now to hopefully make it slightly clearer.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
