From 19f3e519fd495503bf99fa898796350cbc2da170 Mon Sep 17 00:00:00 2001 From: Duncan Overbruck Date: Sat, 26 Jun 2021 19:18:49 +0200 Subject: [PATCH] lib/transaction_internalize.c: switch out deprecated libarchive function --- lib/transaction_internalize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transaction_internalize.c b/lib/transaction_internalize.c index 1d0daf5e..7b37ea6b 100644 --- a/lib/transaction_internalize.c +++ b/lib/transaction_internalize.c @@ -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; }