cogmse: fix pad leaks

This commit is contained in:
Vincent Penquerc'h 2012-01-12 17:16:32 +00:00
parent 76a481c726
commit 409816b5ba

View file

@ -203,6 +203,9 @@ gst_mse_finalize (GObject * object)
{ {
GstMSE *fs = GST_MSE (object); GstMSE *fs = GST_MSE (object);
gst_object_unref (fs->srcpad);
gst_object_unref (fs->sinkpad_ref);
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);
} }