v4l2bufferpool: clear gcond
authorThiago Santos <ts.santos@osg.sisa.samsung.com>
Sat, 26 Jul 2014 15:06:39 +0000 (12:06 -0300)
committerThiago Santos <ts.santos@osg.sisa.samsung.com>
Sat, 26 Jul 2014 15:19:18 +0000 (12:19 -0300)
sys/v4l2/gstv4l2bufferpool.c

index 3dda17d..8851571 100644 (file)
@@ -1346,6 +1346,8 @@ gst_v4l2_buffer_pool_finalize (GObject * object)
   /* FIXME Is this required to keep around ? */
   gst_object_unref (pool->obj->element);
 
+  g_cond_clear (&pool->empty_cond);
+
   /* FIXME have we done enough here ? */
 
   G_OBJECT_CLASS (parent_class)->finalize (object);