lib/transaction_internalize.c: switch out deprecated libarchive function
This commit is contained in:
parent
9139c4469f
commit
19f3e519fd
@ -192,7 +192,7 @@ out:
|
|||||||
if (pkg_fd != -1)
|
if (pkg_fd != -1)
|
||||||
close(pkg_fd);
|
close(pkg_fd);
|
||||||
if (ar != NULL)
|
if (ar != NULL)
|
||||||
archive_read_finish(ar);
|
archive_read_free(ar);
|
||||||
free(pkgfile);
|
free(pkgfile);
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user