clear http->send_buffer when we have freed the memory it pointed to
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user