tree-wide: Use GLib autocleanups for libarchive
Define typedefs for read/write archives, and use the GLib autocleanups for them. Prep for updating libglnx to drop its custom autocleanup macros. Closes: #1042 Approved by: jlebon
This commit is contained in:
1 parent
ded6417aee
commit
40b41d2cc9
4 files changed
+17
-19
No files matched your search
@@ -900,7 +900,7 @@ ostree_repo_write_archive_to_mtree (OstreeRepo *self,
|
||||
{
|
||||
#ifdef HAVE_LIBARCHIVE
|
||||
gboolean ret = FALSE;
|
||||
ot_cleanup_read_archive struct archive *a = archive_read_new ();
|
||||
g_autoptr(OtAutoArchiveRead) a = archive_read_new ();
|
||||
OstreeRepoImportArchiveOptions opts = { 0, };
|
||||
|
||||
#ifdef HAVE_ARCHIVE_READ_SUPPORT_FILTER_ALL
|
||||
|
||||
Reference in new issue
Block a user