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-uboot.c | |
parent | 4f33515316a374867e093171f219cbd6e5e4f5bd (diff) | |
download | ostree-7a62d64968160d27cbd90aeeed754eb185135f91.tar.gz |
Use g_autofree instead of gs_free
Diffstat (limited to 'src/libostree/ostree-bootloader-uboot.c')
-rw-r--r-- | src/libostree/ostree-bootloader-uboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libostree/ostree-bootloader-uboot.c b/src/libostree/ostree-bootloader-uboot.c index 84c5cddc..a64c66a2 100644 --- a/src/libostree/ostree-bootloader-uboot.c +++ b/src/libostree/ostree-bootloader-uboot.c @@ -109,8 +109,8 @@ _ostree_bootloader_uboot_write_config (OstreeBootloader *bootloader, { OstreeBootloaderUboot *self = OSTREE_BOOTLOADER_UBOOT (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; /* This should follow the symbolic link to the current bootversion. */ |