diff options
author | Carlos Rafael Giani <dv@pseudoterminal.org> | 2012-05-23 20:28:06 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-06-26 12:48:59 +0200 |
commit | 59a0685f3e242539673d4f8787e94683381ee419 (patch) | |
tree | bf0f1240b2ae16392fb71d352e440a360994a1af /ext | |
parent | 8fc489de88e203dd52839d4e8781142484ac1c80 (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.c | 2 |
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); } |