moved the protocol-specific free to allow easier multiple transfers
This commit is contained in:
@@ -375,9 +375,6 @@ CURLcode Curl_http_done(struct connectdata *conn)
|
||||
*bytecount = http->readbytecount + http->writebytecount;
|
||||
}
|
||||
|
||||
free(http);
|
||||
data->proto.http=NULL; /* it is gone */
|
||||
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user