mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
gtkwaylandsink: Fix display/wl_window/pool leaks
These were leaked in the GTK implementation of the sink. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3801>
This commit is contained in:
parent
965117b400
commit
0961606942
1 changed files with 4 additions and 0 deletions
|
@ -200,6 +200,10 @@ gst_gtk_wayland_sink_finalize (GObject * object)
|
|||
GstGtkWaylandSinkPrivate *priv =
|
||||
gst_gtk_wayland_sink_get_instance_private (self);
|
||||
|
||||
g_clear_object (&priv->display);
|
||||
g_clear_object (&priv->wl_window);
|
||||
g_clear_object (&priv->pool);
|
||||
|
||||
g_clear_object (&priv->gtk_widget);
|
||||
gst_clear_caps (&priv->caps);
|
||||
|
||||
|
|
Loading…
Reference in a new issue