summaryrefslogtreecommitdiff
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-01-30 19:06:34 (GMT)
committer Tim-Philipp Müller <tim.muller@collabora.co.uk>2010-01-30 19:15:15 (GMT)
commit29c509a7b82579eb055a37f55e2110e20dd7e3b9 (patch) (side-by-side diff)
tree10eccb6fc7c8f02f173c1c2b64f3fe69d1451d2e
parent5aae2740b4378704dbd1414b3a0acc9e45fd98a1 (diff)
downloadgst-plugins-ugly-29c509a7b82579eb055a37f55e2110e20dd7e3b9.zip
gst-plugins-ugly-29c509a7b82579eb055a37f55e2110e20dd7e3b9.tar.gz
rdtdepay: unref input buffer when done
Fixes memory leak, see #608533.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gst/realmedia/rdtdepay.c2
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;
}