Fix an off-by-one error

This commit is contained in:
Matthias Clasen 2010-07-30 16:44:25 -04:00
parent 5033be80d1
commit eb3e926b09

View File

@ -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);