clear http->send_buffer when we have freed the memory it pointed to

This commit is contained in:
Daniel Stenberg 2003-07-28 10:21:57 +00:00
parent 1361fc69b9
commit 48a580e609
1 changed files with 1 additions and 0 deletions

View File

@ -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) {