diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-04-19 22:03:28 +0200 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-04-19 22:03:28 +0200 |
commit | f5cbbb2483d7c56baa109adaffd8b75b1edde59e (patch) | |
tree | 76c05006bf698d9087c5ccaa29e59fafe6a58c69 | |
parent | a215d1ebe039a481e3d148fc4e41bedcd5c72f3d (diff) | |
download | pacman-f5cbbb2483d7c56baa109adaffd8b75b1edde59e.tar.gz pacman-f5cbbb2483d7c56baa109adaffd8b75b1edde59e.tar.xz |
fixed a segfault
-rw-r--r-- | src/pacman/sync.c | 2 |
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; } } |