summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-kernel-args.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2017-10-24 10:10:09 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2017-10-25 01:48:56 +0000
commitd76840d0c1e6e23ab54cee7a5142671e2cc4fae2 (patch)
tree7f65571ac240aac1031176b050654ced6e6f08ee /src/libostree/ostree-kernel-args.c
parent63ce86d5977ebfbedd2cdfba1e4f6bd400a3a1b8 (diff)
downloadostree-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/libostree/ostree-kernel-args.c')
-rw-r--r--src/libostree/ostree-kernel-args.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/libostree/ostree-kernel-args.c b/src/libostree/ostree-kernel-args.c
index a92a1f82..a2575453 100644
--- a/src/libostree/ostree-kernel-args.c
+++ b/src/libostree/ostree-kernel-args.c
@@ -81,7 +81,7 @@ _ostree_kernel_args_new (void)
}
void
-_ostree_kernel_arg_autofree (OstreeKernelArgs *kargs)
+_ostree_kernel_args_free (OstreeKernelArgs *kargs)
{
if (!kargs)
return;
@@ -91,12 +91,6 @@ _ostree_kernel_arg_autofree (OstreeKernelArgs *kargs)
}
void
-_ostree_kernel_args_cleanup (void *loc)
-{
- _ostree_kernel_arg_autofree (*((OstreeKernelArgs**)loc));
-}
-
-void
_ostree_kernel_args_replace_take (OstreeKernelArgs *kargs,
char *arg)
{