Use g_auto(GStrv) instead of gs_strfreev

This commit is contained in:
Matthew Barnes committed 2015-05-06 22:07:11 -04:00
1 parent cca69b3f55
commit 302ac4dd89
7 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -296,7 +296,7 @@ _ostree_bootloader_grub2_write_config (OstreeBootloader *bootloader,
g_autoptr(GFile) new_config_path = NULL;
glnx_unref_object GSSubprocessContext *procctx = NULL;
glnx_unref_object GSSubprocess *proc = NULL;
gs_strfreev char **child_env = g_get_environ ();
g_auto(GStrv) child_env = g_get_environ ();
g_autofree char *bootversion_str = g_strdup_printf ("%u", (guint)bootversion);
g_autoptr(GFile) config_path_efi_dir = NULL;
g_autofree char *grub2_mkconfig_chroot = NULL;