diff options
-rw-r--r-- | lib/libalpm/deps.c | 3 |
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; } |