diff --git a/ext/cog/gstcogmse.c b/ext/cog/gstcogmse.c index 09f1ffc425..8a17e8fe8a 100644 --- a/ext/cog/gstcogmse.c +++ b/ext/cog/gstcogmse.c @@ -203,6 +203,9 @@ gst_mse_finalize (GObject * 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_cond_free (fs->cond); }