waylandsink: unref the buffer pool
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Wed, 26 Feb 2014 14:20:41 +0000 (16:20 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 17 Jun 2014 11:51:23 +0000 (13:51 +0200)
ext/wayland/gstwaylandsink.c

index d4d89c6..2e5ac6e 100644 (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);