[gst-cvs] gst-plugins-ugly: rdtdepay: unref input buffer when done
Tim Mueller
tpm at kemper.freedesktop.org
Sat Jan 30 11:50:48 PST 2010
Module: gst-plugins-ugly
Branch: master
Commit: 29c509a7b82579eb055a37f55e2110e20dd7e3b9
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=29c509a7b82579eb055a37f55e2110e20dd7e3b9
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Sat Jan 30 19:06:34 2010 +0000
rdtdepay: unref input buffer when done
Fixes memory leak, see #608533.
---
gst/realmedia/rdtdepay.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gst/realmedia/rdtdepay.c b/gst/realmedia/rdtdepay.c
index e96c765..76793bc 100644
--- a/gst/realmedia/rdtdepay.c
+++ b/gst/realmedia/rdtdepay.c
@@ -455,6 +455,8 @@ gst_rdt_depay_chain (GstPad * pad, GstBuffer * buf)
more = gst_rdt_packet_move_to_next (&packet);
}
+ gst_buffer_unref (buf);
+
return ret;
}
More information about the Gstreamer-commits
mailing list