From: Matthias Clasen Date: Fri, 1 Jul 2005 19:28:37 +0000 (+0000) Subject: Fix an extra indirection X-Git-Tag: GLIB_2_7_2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e9c3ab12314d02785674056b9fa26e7a596a95e;p=platform%2Fupstream%2Fglib.git Fix an extra indirection --- diff --git a/glib/gkeyfile.c b/glib/gkeyfile.c index 86df7f1..a779486 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)