diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index 7aeecc023e..862134700b 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -287,6 +287,8 @@ gst_ogg_mux_finalize (GObject * object) ogg_mux->collect = NULL; } + gst_object_unref (ogg_mux->srcpad); + G_OBJECT_CLASS (parent_class)->finalize (object); }