Fix an extra indirection
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 1 Jul 2005 19:28:37 +0000 (19:28 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 1 Jul 2005 19:28:37 +0000 (19:28 +0000)
glib/gkeyfile.c

index 86df7f1..a779486 100644 (file)
@@ -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)