xbps_find_deps_pkg: check if "run_depends" obj is NULL.
--HG-- extra : convert_revision : 1040c5d31199bc110a8ad33c85790c3fc71bbbfb
This commit is contained in:
parent
d8bc610313
commit
47185e0296
1 changed files with 2 additions and 1 deletions
|
@ -150,7 +150,8 @@ xbps_find_deps_in_pkg(prop_dictionary_t master, prop_dictionary_t pkg)
|
|||
assert(iter != NULL);
|
||||
|
||||
pkg_rdeps = prop_dictionary_get(pkg, "run_depends");
|
||||
assert(pkg_rdeps != NULL);
|
||||
if (pkg_rdeps == NULL)
|
||||
return 0;
|
||||
|
||||
/*
|
||||
* Iterate over the repository pool and find out if we have
|
||||
|
|
Loading…
Add table
Reference in a new issue