Use g_autofree instead of gs_free
This commit is contained in:
1 parent
4f33515316
commit
7a62d64968
67 files changed
+316
-316
No files matched your search
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user