xbps_repository_install_pkg: don't forget to release repository pool stuff.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20100114175814-0bin80brsh13swbj
This commit is contained in:
Juan RP 2010-01-14 18:58:14 +01:00
parent d8a025a56a
commit d2a093a401

View File

@ -349,11 +349,11 @@ xbps_repository_install_pkg(const char *pkg, bool by_pkgmatch)
if (by_pkgmatch) {
if (xbps_find_pkg_in_dict_by_pkgmatch(trans_dict,
"unsorted_deps", pkg))
return 0;
goto out;
} else {
if (xbps_find_pkg_in_dict_by_name(trans_dict,
"unsorted_deps", pkg))
return 0;
goto out;
}
/*
* Set repository in pkg dictionary.