gstrtpdepay: don't leak input buffer
The rtp buffer is never unmapped in the normal code exit path of gst_rtp_gst_depay_process(..) resulting in a memory leak. https://bugzilla.gnome.org/show_bug.cgi?id=685512
This commit is contained in:
parent
1ac6a782c3
commit
47a8eb7ca8
@ -291,6 +291,7 @@ gst_rtp_gst_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
|
||||
GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_DELTA_UNIT);
|
||||
}
|
||||
}
|
||||
gst_rtp_buffer_unmap (&rtp);
|
||||
return outbuf;
|
||||
|
||||
/* ERRORS */
|
||||
|
Loading…
x
Reference in New Issue
Block a user