1 From 2ad90f2d162e8cc3a981d2e77e926d6eec01919e Mon Sep 17 00:00:00 2001
2 From: Carlos Rafael Giani <dv@pseudoterminal.org>
3 Date: Wed, 23 May 2012 20:28:06 +0200
4 Subject: [PATCH 11/20] opuspay: plug buffer leak
6 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676647
8 ext/opus/gstrtpopuspay.c | 2 ++
9 1 file changed, 2 insertions(+)
11 diff --git a/ext/opus/gstrtpopuspay.c b/ext/opus/gstrtpopuspay.c
12 index cdd7ee0..08d01b1 100644
13 --- a/ext/opus/gstrtpopuspay.c
14 +++ b/ext/opus/gstrtpopuspay.c
15 @@ -136,5 +136,7 @@ gst_rtp_opus_pay_handle_buffer (GstBaseRTPPayload * basepayload,
16 gst_rtp_buffer_set_marker (outbuf, FALSE);
17 GST_BUFFER_TIMESTAMP (outbuf) = timestamp;
19 + gst_buffer_unref (buffer);
21 return gst_basertppayload_push (basepayload, outbuf);