mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:43:39 +03:00
clear http->send_buffer when we have freed the memory it pointed to
This commit is contained in:
parent
1361fc69b9
commit
48a580e609
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue