mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 23:43:39 +02:00
Fix an off-by-one error
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user