xbps_transaction_files: fixed another memleak.

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

View File

@ -740,6 +740,7 @@ collect_binpkg_files(struct xbps_handle *xhp, xbps_dictionary_t pkg_repod,
}
rv = collect_files(xhp, filesd, pkgname, pkgver, idx,
update, false, false, false);
xbps_object_release(filesd);
goto out;
}
archive_read_data_skip(ar);