xbps_rpool_dictionary_metadata_plist: do not release dictionary without refcounts!

This commit is contained in:
Juan RP 2012-09-30 08:10:49 +02:00
parent 1d7fab2abd
commit f7a4718de9

View File

@ -340,8 +340,6 @@ xbps_rpool_dictionary_metadata_plist(struct xbps_handle *xhp,
out:
if (plistd == NULL)
errno = ENOENT;
if (prop_object_type(pkgd) == PROP_TYPE_DICTIONARY)
prop_object_release(pkgd);
return plistd;
}