Fix an extra indirection

This commit is contained in:
Matthias Clasen 2005-07-01 19:28:37 +00:00
parent 9d6e10125b
commit 7e9c3ab123

View File

@ -1030,7 +1030,7 @@ g_key_file_get_keys (GKeyFile *key_file,
num_keys++; num_keys++;
} }
keys = (gchar **) g_new0 (gchar **, num_keys + 1); keys = (gchar **) g_new0 (gchar *, num_keys + 1);
i = num_keys - 1; i = num_keys - 1;
for (tmp = group->key_value_pairs; tmp; tmp = tmp->next) for (tmp = group->key_value_pairs; tmp; tmp = tmp->next)