Finish properly the sbuf and plug a leak
modified libpkg/fetch.c
@@ -575,6 +575,8 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -658,6 +660,8 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|