From c69347b622c605a8e2565187930a0071239099d5 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 5 May 2015 11:47:07 -0400 Subject: [PATCH] Use g_autoptr(GKeyFile) instead of gs_unref_keyfile --- src/ostree/ot-admin-builtin-set-origin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ostree/ot-admin-builtin-set-origin.c b/src/ostree/ot-admin-builtin-set-origin.c index 24a919fd..9e140bf0 100644 --- a/src/ostree/ot-admin-builtin-set-origin.c +++ b/src/ostree/ot-admin-builtin-set-origin.c @@ -129,7 +129,7 @@ ot_admin_builtin_set_origin (int argc, char **argv, GCancellable *cancellable, G goto out; { g_autofree char *new_refspec = g_strconcat (remotename, ":", branch ? branch : origin_ref, NULL); - gs_unref_keyfile GKeyFile *new_origin = NULL; + g_autoptr(GKeyFile) new_origin = NULL; g_autoptr(GFile) origin_path = NULL; new_origin = ostree_sysroot_origin_new_from_refspec (sysroot, new_refspec);