forked from AuroraMiddleware/gtk
places sidebar: Plug a memory leak
This commit is contained in:
parent
0189cb0e0a
commit
3e6177d2dd
@ -4019,6 +4019,12 @@ gtk_places_sidebar_dispose (GObject *object)
|
||||
|
||||
g_clear_object (&sidebar->long_press_gesture);
|
||||
|
||||
if (sidebar->source_targets)
|
||||
{
|
||||
gtk_target_list_unref (sidebar->source_targets);
|
||||
sidebar->source_targets = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (gtk_places_sidebar_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user