rtpgstpay: fix buffer leak
This commit is contained in:
parent
5ed18ad7b9
commit
eb84592cad
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user