diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2015-05-05 11:44:40 -0400 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2015-05-06 22:07:10 -0400 |
commit | bb231fdf74ff81a39f82c0ccda058b2779e18e99 (patch) | |
tree | 251e82668c299faaf8087679779ebfb6eb7bdeac /src/libostree/ostree-repo-libarchive.c | |
parent | 196d983af930c665bbb385f59f6480b1032fd6bb (diff) | |
download | ostree-bb231fdf74ff81a39f82c0ccda058b2779e18e99.tar.gz |
Use g_autoptr(GPtrArray) instead of gs_unref_ptrarray
Diffstat (limited to 'src/libostree/ostree-repo-libarchive.c')
-rw-r--r-- | src/libostree/ostree-repo-libarchive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libostree/ostree-repo-libarchive.c b/src/libostree/ostree-repo-libarchive.c index e55e6f4a..e86e4026 100644 --- a/src/libostree/ostree-repo-libarchive.c +++ b/src/libostree/ostree-repo-libarchive.c @@ -123,8 +123,8 @@ write_libarchive_entry_to_mtree (OstreeRepo *self, const char *hardlink; const char *basename; g_autoptr(GFileInfo) file_info = NULL; - gs_unref_ptrarray GPtrArray *split_path = NULL; - gs_unref_ptrarray GPtrArray *hardlink_split_path = NULL; + g_autoptr(GPtrArray) split_path = NULL; + g_autoptr(GPtrArray) hardlink_split_path = NULL; glnx_unref_object OstreeMutableTree *subdir = NULL; glnx_unref_object OstreeMutableTree *parent = NULL; glnx_unref_object OstreeMutableTree *hardlink_source_parent = NULL; |