Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-19 20:03:28 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-04-19 20:03:28 +0000
commitf5cbbb2483d7c56baa109adaffd8b75b1edde59e (patch)
tree76c05006bf698d9087c5ccaa29e59fafe6a58c69 /src
parenta215d1ebe039a481e3d148fc4e41bedcd5c72f3d (diff)
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;
}
}