summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-25 06:39:00 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-03-25 06:39:00 +0000
commit3b229d3a1af61dbb2975c69152b83223608f51b5 (patch)
tree030797b4a3e212d831b08050fe7ba1dfc09d90d5 /lib/libalpm
parentff16088b276eb507c7f8c90941e24977de9000ba (diff)
downloadpacman-3b229d3a1af61dbb2975c69152b83223608f51b5.tar.xz
added a missing goto!
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/deps.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index d8b79974..eb9a983d 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -601,8 +601,7 @@ int resolvedeps(pmdb_t *local, PMList *databases, pmsync_t *sync, PMList *list,
s = sync_new(PM_SYSUPG_DEPEND, NULL, !!!provides->data!!!);
if(s == NULL) {
pm_errno = PM_ERR_MEMORY;
- FREELIST(deps);
- return(-1);
+ goto error;
}
sync->pkg->reason = PM_PKG_REASON_DEPEND;
}