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
@@ -166,7 +166,7 @@ _ostree_kernel_args_append_proc_cmdline (OstreeKernelArgs *kargs,
g_autoptr(GFile) proc_cmdline_path = g_file_new_for_path ("/proc/cmdline");
g_autofree char *proc_cmdline = NULL;
gsize proc_cmdline_len = 0;
gs_strfreev char **proc_cmdline_args = NULL;
g_auto(GStrv) proc_cmdline_args = NULL;
if (!g_file_load_contents (proc_cmdline_path, cancellable,
&proc_cmdline, &proc_cmdline_len,