xbps_rpool_dictionary_metadata_plist: do not release dictionary without refcounts!
This commit is contained in:
parent
1d7fab2abd
commit
f7a4718de9
@ -340,8 +340,6 @@ xbps_rpool_dictionary_metadata_plist(struct xbps_handle *xhp,
|
|||||||
out:
|
out:
|
||||||
if (plistd == NULL)
|
if (plistd == NULL)
|
||||||
errno = ENOENT;
|
errno = ENOENT;
|
||||||
if (prop_object_type(pkgd) == PROP_TYPE_DICTIONARY)
|
|
||||||
prop_object_release(pkgd);
|
|
||||||
|
|
||||||
return plistd;
|
return plistd;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user