xbps_transaction_files: fix a memleak.

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

View File

@ -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);