index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/sync.c | 3 |
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 9cf781a9..df102af2 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -717,8 +717,7 @@ static int sync_trans(alpm_list_t *targets, int sync_only) /* Step 4: release transaction resources */ cleanup: if(data) { - alpm_list_free_inner(data, free); - alpm_list_free(data); + FREELIST(data); } if(alpm_trans_release() == -1) { fprintf(stderr, _("error: failed to release transaction (%s)\n"), |