index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-09-28 12:58:43 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-28 13:01:03 -0500 |
commit | e0acf2f144404e613a75d5aafea2a909989544e9 (patch) | |
tree | fce12af0ebf8344e6b1c10533ee7de5707083f3c /lib/libalpm/sync.c | |
parent | 9a58d5c6c5a69ebf7a920c357820a59c19d5b641 (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 5 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 8c50ec88..08d634d6 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -891,9 +891,8 @@ static int download_files(alpm_handle_t *handle, alpm_list_t **deltas) } } - alpm_list_free_inner(files, (alpm_list_fn_free)_alpm_dload_payload_free); - alpm_list_free(files); - files = NULL; + alpm_list_free_inner(files, (alpm_list_fn_free)_alpm_dload_payload_reset); + FREELIST(files); } } |