Commit 48a580e6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 1361fc69
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {