mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
drop: Don't leak the surface and formats
This commit is contained in:
parent
1fa9261fe3
commit
71373ff6fb
@ -287,6 +287,8 @@ gdk_drop_finalize (GObject *object)
|
|||||||
|
|
||||||
g_clear_object (&priv->device);
|
g_clear_object (&priv->device);
|
||||||
g_clear_object (&priv->drag);
|
g_clear_object (&priv->drag);
|
||||||
|
g_clear_object (&priv->surface);
|
||||||
|
g_clear_pointer (&priv->formats, gdk_content_formats_unref);
|
||||||
|
|
||||||
G_OBJECT_CLASS (gdk_drop_parent_class)->finalize (object);
|
G_OBJECT_CLASS (gdk_drop_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user