aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c
index b361a204b..7f6752ec5 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -624,6 +624,7 @@ CURLcode Curl_http_done(struct connectdata *conn)
free(buff->buffer);
free(buff);
+ http->send_buffer = NULL; /* cleaer the pointer */
}
if(HTTPREQ_POST_FORM == data->set.httpreq) {