From f8d4796a57bb28a2089791cb7b5c7d10427bfc63 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 20 Jul 2016 16:20:40 +0200 Subject: [PATCH] playback/player: gtk: fix widget leak The ref returned by gst_player_gtk_video_renderer_get_widget() was never released. --- playback/player/gtk/gtk-play.c | 1 + 1 file changed, 1 insertion(+) diff --git a/playback/player/gtk/gtk-play.c b/playback/player/gtk/gtk-play.c index 7f9e588cb1..a520bef765 100644 --- a/playback/player/gtk/gtk-play.c +++ b/playback/player/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); }