diff --git a/lib/transaction_files.c b/lib/transaction_files.c index 2f88b0a2..66f4e6ef 100644 --- a/lib/transaction_files.c +++ b/lib/transaction_files.c @@ -856,6 +856,8 @@ xbps_transaction_files(struct xbps_handle *xhp, xbps_object_iterator_t iter) } out: + xbps_object_iterator_release(iter); + if (rv != 0) return rv; return collect_obsoletes(xhp);