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:
parent
d8a025a56a
commit
d2a093a401
@ -349,11 +349,11 @@ xbps_repository_install_pkg(const char *pkg, bool by_pkgmatch)
|
|||||||
if (by_pkgmatch) {
|
if (by_pkgmatch) {
|
||||||
if (xbps_find_pkg_in_dict_by_pkgmatch(trans_dict,
|
if (xbps_find_pkg_in_dict_by_pkgmatch(trans_dict,
|
||||||
"unsorted_deps", pkg))
|
"unsorted_deps", pkg))
|
||||||
return 0;
|
goto out;
|
||||||
} else {
|
} else {
|
||||||
if (xbps_find_pkg_in_dict_by_name(trans_dict,
|
if (xbps_find_pkg_in_dict_by_name(trans_dict,
|
||||||
"unsorted_deps", pkg))
|
"unsorted_deps", pkg))
|
||||||
return 0;
|
goto out;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Set repository in pkg dictionary.
|
* Set repository in pkg dictionary.
|
||||||
|
Loading…
Reference in New Issue
Block a user