From 774d14ac9331543721d740d969a61c67e7feaf07 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 12 Feb 2009 21:17:35 +0100 Subject: [PATCH] xbps_install_pkg_deps: fix a leak if installing a required dep fails. --HG-- extra : convert_revision : e29096f8929dfcf41f6a0c75f758f9d8f4b67596 --- lib/depends.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/depends.c b/lib/depends.c index ac7fe79a4b0..11a8784609b 100644 --- a/lib/depends.c +++ b/lib/depends.c @@ -445,7 +445,7 @@ xbps_install_pkg_deps(prop_dictionary_t pkg, const char *destdir) while ((obj = prop_object_iterator_next(iter)) != NULL) { rv = xbps_install_binary_pkg_fini(NULL, obj, destdir); if (rv != 0) - goto out; + break; } prop_object_iterator_release(iter);