xbps_install_pkg_deps: fix a leak if installing a required dep fails.

--HG--
extra : convert_revision : e29096f8929dfcf41f6a0c75f758f9d8f4b67596
This commit is contained in:
Juan RP 2009-02-12 21:17:35 +01:00
parent bd29a1f180
commit 774d14ac93
1 changed files with 1 additions and 1 deletions

View File

@ -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);