[0.11] gst-plugins-base: oggdemux: fix pad leak

Tim Müller tpm at kemper.freedesktop.org
Thu Jan 12 16:17:58 PST 2012


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

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Tue Jan 10 16:51:09 2012 +0000

oggdemux: fix pad leak

---

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

diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c
index f54ab95..6afcae6 100644
--- a/ext/ogg/gstoggdemux.c
+++ b/ext/ogg/gstoggdemux.c
@@ -4593,6 +4593,7 @@ gst_ogg_demux_change_state (GstElement * element, GstStateChange transition)
                 "Unable to determine stream size, assuming live, seeking disabled");
             ogg->push_disable_seeking = TRUE;
           }
+          gst_object_unref (peer);
         }
       }
 



More information about the gstreamer-commits mailing list