mirror of https://github.com/moparisthebest/curl
clear http->send_buffer when we have freed the memory it pointed to
This commit is contained in:
parent
1361fc69b9
commit
48a580e609
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue