[0.11] gst-plugins-bad: schrodec: fix tag leak

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


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

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Wed Jan 11 18:24:41 2012 +0000

schrodec: fix tag leak

---

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

diff --git a/ext/schroedinger/gstschrodec.c b/ext/schroedinger/gstschrodec.c
index 69a3806..bbff0eb 100644
--- a/ext/schroedinger/gstschrodec.c
+++ b/ext/schroedinger/gstschrodec.c
@@ -571,6 +571,8 @@ gst_schro_dec_process (GstSchroDec * schro_dec, gboolean eos)
 
           schro_frame_unref (schro_frame);
         }
+        if (tag)
+          schro_tag_free (tag);
         if (!eos) {
           go = FALSE;
         }



More information about the gstreamer-commits mailing list