gst-plugins-base: oggmux: fix pad leak

Vincent Penquerc'h vincent at kemper.freedesktop.org
Tue Jan 10 08:20:39 PST 2012


Module: gst-plugins-base
Branch: master
Commit: 5df30c1b905edce16f2258e414a0a4afb540d0f1
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=5df30c1b905edce16f2258e414a0a4afb540d0f1

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Tue Jan 10 14:35:31 2012 +0000

oggmux: fix pad leak

---

 ext/ogg/gstoggmux.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c
index 7aeecc0..8621347 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);
 }
 



More information about the gstreamer-commits mailing list