forked from AuroraMiddleware/gtk
places sidebar: Don't leak shortcuts
Poined out by valgrind.
This commit is contained in:
parent
fbee8c5ba3
commit
3243ae6e08
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user