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/libostree/ostree-bootloader-syslinux.c | |
parent | 4f33515316a374867e093171f219cbd6e5e4f5bd (diff) | |
download | ostree-7a62d64968160d27cbd90aeeed754eb185135f91.tar.gz |
Use g_autofree instead of gs_free
Diffstat (limited to 'src/libostree/ostree-bootloader-syslinux.c')
-rw-r--r-- | src/libostree/ostree-bootloader-syslinux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libostree/ostree-bootloader-syslinux.c b/src/libostree/ostree-bootloader-syslinux.c index 6c2b4417..71a18ecb 100644 --- a/src/libostree/ostree-bootloader-syslinux.c +++ b/src/libostree/ostree-bootloader-syslinux.c @@ -123,11 +123,11 @@ _ostree_bootloader_syslinux_write_config (OstreeBootloader *bootloader, gboolean ret = FALSE; OstreeBootloaderSyslinux *self = OSTREE_BOOTLOADER_SYSLINUX (bootloader); gs_unref_object GFile *new_config_path = NULL; - gs_free char *config_contents = NULL; - gs_free char *new_config_contents = NULL; + g_autofree char *config_contents = NULL; + g_autofree char *new_config_contents = NULL; gs_unref_ptrarray GPtrArray *new_lines = NULL; gs_unref_ptrarray GPtrArray *tmp_lines = NULL; - gs_free char *kernel_arg = NULL; + g_autofree char *kernel_arg = NULL; gboolean saw_default = FALSE; gboolean regenerate_default = FALSE; gboolean parsing_label = FALSE; |