rtpgstpay: fix buffer leak
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 26 Apr 2011 13:58:12 +0000 (15:58 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 26 Apr 2011 13:58:12 +0000 (15:58 +0200)
gst/rtp/gstrtpgstpay.c

index f8c6ccc..e03817a 100644 (file)
@@ -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;
 }