waylandsink: unref the buffer pool

This commit is contained in:
George Kiagiadakis 2014-02-26 16:20:41 +02:00
parent a67b08cdd0
commit f800e2b4fa

View file

@ -184,6 +184,9 @@ gst_wayland_sink_finalize (GObject * object)
g_object_unref (sink->window);
if (sink->display)
g_object_unref (sink->display);
if (sink->pool)
gst_object_unref (sink->pool);
if (sink->display_name)
g_free (sink->display_name);