From 6cc8c8dedb93708ce9ddc84831d9f51c8618370c Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 20 Jul 2016 16:20:40 +0200 Subject: gtk: fix widget leak The ref returned by gst_player_gtk_video_renderer_get_widget() was never released. --- gtk/gtk-play.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtk-play.c b/gtk/gtk-play.c index 7f9e588..a520bef 100644 --- a/gtk/gtk-play.c +++ b/gtk/gtk-play.c @@ -1775,6 +1775,7 @@ gtk_play_dispose (GObject * object) g_object_unref (self->player); } self->player = NULL; + g_clear_object (&self->video_area); G_OBJECT_CLASS (gtk_play_parent_class)->dispose (object); } -- cgit v1.2.3