|
@@ -366,7 +366,6 @@ static void http_reap ( struct async *async ) {
|
366
|
366
|
struct http_request *http =
|
367
|
367
|
container_of ( async, struct http_request, async );
|
368
|
368
|
|
369
|
|
- free_uri ( http->uri );
|
370
|
369
|
free ( http );
|
371
|
370
|
}
|
372
|
371
|
|
|
@@ -385,8 +384,6 @@ static struct async_operations http_async_operations = {
|
385
|
384
|
* @v buffer Buffer into which to download file
|
386
|
385
|
* @v parent Parent asynchronous operation
|
387
|
386
|
* @ret rc Return status code
|
388
|
|
- *
|
389
|
|
- * If it returns success, this function takes ownership of the URI.
|
390
|
387
|
*/
|
391
|
388
|
int http_get ( struct uri *uri, struct buffer *buffer, struct async *parent ) {
|
392
|
389
|
struct http_request *http;
|