summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pacman/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 51a2d736..c824d61b 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -452,8 +452,8 @@ int pacman_sync(list_t *targets)
if(yesno(":: Upgrade pacman first? [Y/n] ")) {
/* ORE
we should substitute existing targets with "pacman" */
- alpm_list_free(data);
retval = 0;
+ alpm_trans_release();
goto cleanup;
}
}