Commit eb3e926b authored by Matthias Clasen's avatar Matthias Clasen

Fix an off-by-one error

parent 5033be80
......@@ -747,7 +747,7 @@ g_application_list_actions (GApplication *application)
priv = application->priv;
retval = g_new (gchar*, g_hash_table_size (priv->actions));
retval = g_new (gchar*, g_hash_table_size (priv->actions) + 1);
i = 0;
g_hash_table_iter_init (&iter, priv->actions);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment