aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c
index 28292384e..42947749e 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -364,7 +364,7 @@ CURLcode Curl_http_done(struct connectdata *conn)
if(HTTPREQ_POST_FORM == data->httpreq) {
*bytecount = http->readbytecount + http->writebytecount;
- Curl_FormFree(http->sendit); /* Now free that whole lot */
+ Curl_formclean(http->sendit); /* Now free that whole lot */
data->fread = http->storefread; /* restore */
data->in = http->in; /* restore */
@@ -731,7 +731,7 @@ CURLcode Curl_http(struct connectdata *conn)
conn->firstsocket,
&http->writebytecount);
if(result) {
- Curl_FormFree(http->sendit); /* free that whole lot */
+ Curl_formclean(http->sendit); /* free that whole lot */
return result;
}
}