diff options
author | Colin Walters <walters@verbum.org> | 2017-10-24 10:10:09 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-10-25 01:48:56 +0000 |
commit | d76840d0c1e6e23ab54cee7a5142671e2cc4fae2 (patch) | |
tree | 7f65571ac240aac1031176b050654ced6e6f08ee /src/ostree/ot-admin-builtin-deploy.c | |
parent | 63ce86d5977ebfbedd2cdfba1e4f6bd400a3a1b8 (diff) | |
download | ostree-d76840d0c1e6e23ab54cee7a5142671e2cc4fae2.tar.gz |
tree-wide: Use autoptr for OstreeKernelArgs
Much nicer looking. Prep for more cleanup from
https://github.com/projectatomic/rpm-ostree/pull/1013
Closes: #1302
Approved by: peterbaouoft
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 ae287939..83550331 100644 --- a/src/ostree/ot-admin-builtin-deploy.c +++ b/src/ostree/ot-admin-builtin-deploy.c @@ -62,7 +62,7 @@ static GOptionEntry options[] = { gboolean ot_admin_builtin_deploy (int argc, char **argv, OstreeCommandInvocation *invocation, GCancellable *cancellable, GError **error) { - __attribute__((cleanup(_ostree_kernel_args_cleanup))) OstreeKernelArgs *kargs = NULL; + g_autoptr(OstreeKernelArgs) kargs = NULL; g_autoptr(GOptionContext) context = g_option_context_new ("REFSPEC"); |