From 3b229d3a1af61dbb2975c69152b83223608f51b5 Mon Sep 17 00:00:00 2001
From: Aurelien Foret <aurelien@archlinux.org>
Date: Fri, 25 Mar 2005 06:39:00 +0000
Subject: added a missing goto!

---
 lib/libalpm/deps.c | 3 +--
 1 file changed, 1 insertion(+), 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;
 				}
-- 
cgit v1.2.3-70-g09d2