summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-19 22:03:28 +0200
committerAurelien Foret <aurelien@archlinux.org>2005-04-19 22:03:28 +0200
commitf5cbbb2483d7c56baa109adaffd8b75b1edde59e (patch)
tree76c05006bf698d9087c5ccaa29e59fafe6a58c69 /src
parenta215d1ebe039a481e3d148fc4e41bedcd5c72f3d (diff)
downloadpacman-f5cbbb2483d7c56baa109adaffd8b75b1edde59e.tar.gz
pacman-f5cbbb2483d7c56baa109adaffd8b75b1edde59e.tar.xz
fixed a segfault
Diffstat (limited to 'src')
-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;
}
}