lib/transaction_internalize.c: switch out deprecated libarchive function

This commit is contained in:
Duncan Overbruck 2021-06-26 19:18:49 +02:00
parent 9139c4469f
commit 19f3e519fd
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35

View File

@ -192,7 +192,7 @@ out:
if (pkg_fd != -1)
close(pkg_fd);
if (ar != NULL)
archive_read_finish(ar);
archive_read_free(ar);
free(pkgfile);
return rv;
}