[gst-cvs] gst-plugins-bad: resindvd: Don' t leak a reference to the parent in rsnaudiomunge

Jan Schmidt thaytan at kemper.freedesktop.org
Tue Oct 13 07:10:27 PDT 2009


Module: gst-plugins-bad
Branch: master
Commit: 30845f1118d8248414e6c02a59b3fc020b53b206
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=30845f1118d8248414e6c02a59b3fc020b53b206

Author: Jan Schmidt <thaytan at noraisin.net>
Date:   Tue Oct 13 13:05:50 2009 +0100

resindvd: Don't leak a reference to the parent in rsnaudiomunge

Don't leak a reference to the pad parent in the sink pad event handler
in rsnaudiomunge.

https://bugzilla.gnome.org/show_bug.cgi?id=598263

---

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

diff --git a/ext/resindvd/rsnaudiomunge.c b/ext/resindvd/rsnaudiomunge.c
index fda2a96..715bd62 100644
--- a/ext/resindvd/rsnaudiomunge.c
+++ b/ext/resindvd/rsnaudiomunge.c
@@ -359,6 +359,7 @@ rsn_audiomunge_sink_event (GstPad * pad, GstEvent * event)
       break;
   }
 
+  gst_object_unref (munge);
   return ret;
 
 newseg_wrong_format:





More information about the Gstreamer-commits mailing list