libxbps: switch to archive_read_{close,free}.

This commit is contained in:
Juan RP
2012-06-12 22:22:46 +02:00
parent c61ba8dfcc
commit 412d4b7280
2 changed files with 3 additions and 2 deletions

View File

@@ -609,7 +609,7 @@ xbps_unpack_binary_pkg(prop_dictionary_t pkg_repod)
"%s: [unpack] failed to open binary package `%s': %s",
pkgver, fname, strerror(rv));
free(bpkg);
archive_read_finish(ar);
archive_read_free(ar);
return rv;
}
free(bpkg);