applicationaccels: Plug a leak

g_list_model_get_item is transfer full.
This commit is contained in:
Matthias Clasen 2020-07-16 08:46:18 -04:00
parent f54ed6f7dc
commit 2d1135fba6

View File

@ -109,6 +109,7 @@ gtk_application_accels_set_accels_for_action (GtkApplicationAccels *accels,
}
g_list_store_remove (G_LIST_STORE (accels->shortcuts), i);
g_object_unref (shortcut_i);
break;
}