diff options
Diffstat (limited to 'src/core/download.c')
| -rw-r--r-- | src/core/download.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/download.c b/src/core/download.c index 4522bf2c8..e3f77794f 100644 --- a/src/core/download.c +++ b/src/core/download.c @@ -121,7 +121,7 @@ int start_download ( const char *uri_string, struct async *parent, err: async_uninit ( &download->async ); ufree ( download->buffer.addr ); - free_uri ( download->uri ); + uri_put ( download->uri ); free ( download ); return rc; } @@ -150,7 +150,7 @@ static void download_sigchld ( struct async *async, /* Discard the buffer */ ufree ( download->buffer.addr ); } - free_uri ( download->uri ); + uri_put ( download->uri ); download->uri = NULL; /* Terminate ourselves */ |
