forked from AuroraMiddleware/gtk
applicationaccels: Plug a leak
g_list_model_get_item is transfer full.
This commit is contained in:
parent
f54ed6f7dc
commit
2d1135fba6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user