menutracker: Fix a small memory leak

https://gitlab.gnome.org/GNOME/gnome-shell/issues/64
This commit is contained in:
Florian Müllner 2018-02-26 19:21:56 +01:00 committed by Florian Müllner
parent 3ee50adad9
commit c8e69a2154

View File

@ -200,6 +200,7 @@ gtk_menu_tracker_item_finalize (GObject *object)
GtkMenuTrackerItem *self = GTK_MENU_TRACKER_ITEM (object);
g_free (self->action_namespace);
g_free (self->action_and_target);
if (self->observable)
g_object_unref (self->observable);