moved the protocol-specific free to allow easier multiple transfers

This commit is contained in:
Daniel Stenberg
2001-02-13 13:34:16 +00:00
parent 7686ac3f2c
commit a140e5311d
3 changed files with 11 additions and 7 deletions

View File

@@ -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;
}