xbps_transaction_remove_pkg: fix a memleak.

Thanks valgrind
This commit is contained in:
Juan RP 2020-02-08 20:12:11 +01:00
parent 58217d412d
commit 2d7e3d7b1a
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368

View File

@ -488,6 +488,7 @@ xbps_transaction_remove_pkg(struct xbps_handle *xhp,
return EINVAL;
xbps_dbg_printf(xhp, "%s: added into transaction (remove).\n", pkgver);
}
xbps_object_release(orphans);
return rv;
rmpkg: