mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue