summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2012-05-23 20:28:06 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-06-26 12:48:59 +0200
commit59a0685f3e242539673d4f8787e94683381ee419 (patch)
treebf0f1240b2ae16392fb71d352e440a360994a1af /ext
parent8fc489de88e203dd52839d4e8781142484ac1c80 (diff)
opuspay: plug buffer leak
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676647
Diffstat (limited to 'ext')
-rw-r--r--ext/opus/gstrtpopuspay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/opus/gstrtpopuspay.c b/ext/opus/gstrtpopuspay.c
index cdd7ee00c..08d01b12e 100644
--- a/ext/opus/gstrtpopuspay.c
+++ b/ext/opus/gstrtpopuspay.c
@@ -136,5 +136,7 @@ gst_rtp_opus_pay_handle_buffer (GstBaseRTPPayload * basepayload,
gst_rtp_buffer_set_marker (outbuf, FALSE);
GST_BUFFER_TIMESTAMP (outbuf) = timestamp;
+ gst_buffer_unref (buffer);
+
return gst_basertppayload_push (basepayload, outbuf);
}