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
This commit is contained in:
1 parent
63ce86d597
commit
d76840d0c1
7 files changed
+14
-20
No files matched your search
@@ -74,7 +74,7 @@ append_system_uenv (OstreeBootloaderUboot *self,
|
||||
GError **error)
|
||||
{
|
||||
glnx_autofd int uenv_fd = -1;
|
||||
__attribute__((cleanup(_ostree_kernel_args_cleanup))) OstreeKernelArgs *kargs = NULL;
|
||||
g_autoptr(OstreeKernelArgs) kargs = NULL;
|
||||
const char *uenv_path = NULL;
|
||||
const char *ostree_arg = NULL;
|
||||
|
||||
|
||||
Reference in new issue
Block a user