From: Daniel Stenberg Date: Mon, 28 Jul 2003 10:21:57 +0000 (+0000) Subject: clear http->send_buffer when we have freed the memory it pointed to X-Git-Tag: curl-7_10_6~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=48a580e609c236be4d76be61f2e51821a964410f;p=thirdparty%2Fcurl.git clear http->send_buffer when we have freed the memory it pointed to --- diff --git a/lib/http.c b/lib/http.c index b361a204b3..7f6752ec58 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) {