summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-diff.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2015-05-05 11:44:40 -0400
committerMatthew Barnes <mbarnes@redhat.com>2015-05-06 22:07:10 -0400
commitbb231fdf74ff81a39f82c0ccda058b2779e18e99 (patch)
tree251e82668c299faaf8087679779ebfb6eb7bdeac /src/ostree/ot-builtin-diff.c
parent196d983af930c665bbb385f59f6480b1032fd6bb (diff)
downloadostree-bb231fdf74ff81a39f82c0ccda058b2779e18e99.tar.gz
Use g_autoptr(GPtrArray) instead of gs_unref_ptrarray
Diffstat (limited to 'src/ostree/ot-builtin-diff.c')
-rw-r--r--src/ostree/ot-builtin-diff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ostree/ot-builtin-diff.c b/src/ostree/ot-builtin-diff.c
index 8e2d237a..fb744239 100644
--- a/src/ostree/ot-builtin-diff.c
+++ b/src/ostree/ot-builtin-diff.c
@@ -126,9 +126,9 @@ ostree_builtin_diff (int argc, char **argv, GCancellable *cancellable, GError **
g_autofree char *src_prev = NULL;
g_autoptr(GFile) srcf = NULL;
g_autoptr(GFile) targetf = NULL;
- gs_unref_ptrarray GPtrArray *modified = NULL;
- gs_unref_ptrarray GPtrArray *removed = NULL;
- gs_unref_ptrarray GPtrArray *added = NULL;
+ g_autoptr(GPtrArray) modified = NULL;
+ g_autoptr(GPtrArray) removed = NULL;
+ g_autoptr(GPtrArray) added = NULL;
context = g_option_context_new ("REV TARGETDIR - Compare directory TARGETDIR against revision REV");
g_option_context_add_main_entries (context, options, NULL);