xbps_transaction_remove_pkg: fix a memleak.
Thanks valgrind
This commit is contained in:
parent
58217d412d
commit
2d7e3d7b1a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user