From f5cbbb2483d7c56baa109adaffd8b75b1edde59e Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Tue, 19 Apr 2005 20:03:28 +0000 Subject: [PATCH] fixed a segfault --- src/pacman/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }