diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2015-05-04 17:58:26 -0400 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2015-05-06 21:50:17 -0400 |
commit | 7a62d64968160d27cbd90aeeed754eb185135f91 (patch) | |
tree | b6bc24af82d7ac03f42ec58f15507caa8cca869f /src/ostree/ot-admin-builtin-deploy.c | |
parent | 4f33515316a374867e093171f219cbd6e5e4f5bd (diff) | |
download | ostree-7a62d64968160d27cbd90aeeed754eb185135f91.tar.gz |
Use g_autofree instead of gs_free
Diffstat (limited to 'src/ostree/ot-admin-builtin-deploy.c')
-rw-r--r-- | src/ostree/ot-admin-builtin-deploy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-admin-builtin-deploy.c b/src/ostree/ot-admin-builtin-deploy.c index 1872894b..b2b24f03 100644 --- a/src/ostree/ot-admin-builtin-deploy.c +++ b/src/ostree/ot-admin-builtin-deploy.c @@ -61,7 +61,7 @@ ot_admin_builtin_deploy (int argc, char **argv, GCancellable *cancellable, GErro gs_unref_ptrarray GPtrArray *new_deployments = NULL; gs_unref_object OstreeDeployment *new_deployment = NULL; gs_unref_object OstreeDeployment *merge_deployment = NULL; - gs_free char *revision = NULL; + g_autofree char *revision = NULL; __attribute__((cleanup(_ostree_kernel_args_cleanup))) OstreeKernelArgs *kargs = NULL; context = g_option_context_new ("REFSPEC - Checkout revision REFSPEC as the new default deployment"); |