Working dependency handling for binary packages.

--HG--
extra : convert_revision : d0ff56b524efba53b11b7635972b03feaaeb889a
This commit is contained in:
Juan RP 2008-12-24 10:58:19 +01:00
parent fa3b59b246
commit 4101025318
7 changed files with 127 additions and 86 deletions

View file

@ -99,7 +99,7 @@ prop_dictionary_t
xbps_find_pkg_from_plist(const char *plist, const char *pkgname)
{
prop_dictionary_t dict;
prop_dictionary_t obj;
prop_dictionary_t obj, res;
assert(plist != NULL);
assert(pkgname != NULL);
@ -117,7 +117,10 @@ xbps_find_pkg_from_plist(const char *plist, const char *pkgname)
return NULL;
}
return obj;
res = prop_dictionary_copy(obj);
prop_object_release(dict);
return res;
}
prop_dictionary_t