cogmse: fix possible buffer leak

This commit is contained in:
Vincent Penquerc'h 2012-01-13 11:22:21 +00:00
parent 525a995569
commit 2f78acb42a

View file

@ -208,6 +208,7 @@ gst_mse_finalize (GObject * object)
gst_object_unref (fs->sinkpad_test); gst_object_unref (fs->sinkpad_test);
g_mutex_free (fs->lock); g_mutex_free (fs->lock);
g_cond_free (fs->cond); g_cond_free (fs->cond);
gst_buffer_replace (&fs->buffer_ref, NULL);
} }
static GstCaps * static GstCaps *