From 7e9c3ab12314d02785674056b9fa26e7a596a95e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 1 Jul 2005 19:28:37 +0000 Subject: [PATCH] Fix an extra indirection --- glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gkeyfile.c b/glib/gkeyfile.c index 86df7f13f..a779486d5 100644 --- a/glib/gkeyfile.c +++ b/glib/gkeyfile.c @@ -1030,7 +1030,7 @@ g_key_file_get_keys (GKeyFile *key_file, num_keys++; } - keys = (gchar **) g_new0 (gchar **, num_keys + 1); + keys = (gchar **) g_new0 (gchar *, num_keys + 1); i = num_keys - 1; for (tmp = group->key_value_pairs; tmp; tmp = tmp->next)