diff --git a/lib/plist.c b/lib/plist.c index b07c1731a12..0d44acb1508 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -167,7 +167,7 @@ xbps_find_pkg_installed_from_plist(const char *pkgname) pkgd = xbps_find_pkg_from_plist(plist, pkgname); free(plist); - return prop_dictionary_copy(pkgd); + return pkgd; } prop_dictionary_t