diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index 5399af939b..b8f990461b 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -4025,6 +4025,9 @@ gtk_places_sidebar_dispose (GObject *object) sidebar->source_targets = NULL; } + g_slist_free_full (sidebar->shortcuts, g_object_unref); + sidebar->shortcuts = NULL; + G_OBJECT_CLASS (gtk_places_sidebar_parent_class)->dispose (object); }