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

+2 -2
View File
@@ -298,7 +298,7 @@ _ostree_repo_get_remote_list_option (OstreeRepo *self,
if (remote != NULL)
{
gs_strfreev char **value = NULL;
g_auto(GStrv) value = NULL;
GError *local_error = NULL;
value = g_key_file_get_string_list (remote->options,
@@ -1272,7 +1272,7 @@ add_remotes_from_keyfile (OstreeRepo *self,
GError **error)
{
GQueue queue = G_QUEUE_INIT;
gs_strfreev char **groups = NULL;
g_auto(GStrv) groups = NULL;
gsize length, ii;
gboolean ret = FALSE;