From eb84592cadf443458586471431d391308b786667 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 26 Apr 2011 15:58:12 +0200 Subject: [PATCH] rtpgstpay: fix buffer leak --- gst/rtp/gstrtpgstpay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtp/gstrtpgstpay.c b/gst/rtp/gstrtpgstpay.c index f8c6ccc..e03817a 100644 --- a/gst/rtp/gstrtpgstpay.c +++ b/gst/rtp/gstrtpgstpay.c @@ -215,6 +215,7 @@ gst_rtp_gst_pay_handle_buffer (GstBaseRTPPayload * basepayload, ret = gst_basertppayload_push (basepayload, outbuf); } gst_buffer_unmap (buffer, data, size); + gst_buffer_unref (buffer); return ret; } -- 2.7.4