diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2016-07-20 16:20:40 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-07-21 20:34:40 +0300 |
commit | 6cc8c8dedb93708ce9ddc84831d9f51c8618370c (patch) | |
tree | e191f68e137fbfcba4fe5a88eb1ab6f6706f1083 | |
parent | 7b96877e5e2a79cdf7719d770f2e0baf4ce162d2 (diff) |
gtk: fix widget leak
The ref returned by gst_player_gtk_video_renderer_get_widget() was never
released.
-rw-r--r-- | gtk/gtk-play.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |