From 5df30c1b905edce16f2258e414a0a4afb540d0f1 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Tue, 10 Jan 2012 14:35:31 +0000 Subject: [PATCH] oggmux: fix pad leak --- ext/ogg/gstoggmux.c | 2 ++ 1 file changed, 2 insertions(+) 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); }