xbps_remove_pkg: no need to release pkgd from metadir.

This commit is contained in:
Juan RP 2012-11-18 12:06:46 +01:00
parent ace91b17e0
commit e08c258967

View File

@ -264,7 +264,6 @@ xbps_remove_pkg(struct xbps_handle *xhp,
*/ */
if (update) { if (update) {
free(pkgver); free(pkgver);
prop_object_release(pkgd);
return xbps_requiredby_pkg_remove(xhp, pkgname); return xbps_requiredby_pkg_remove(xhp, pkgname);
} else if (soft_replace) { } else if (soft_replace) {
/* /*