Commit 47a8eb7c authored by Rasmus Rohde's avatar Rasmus Rohde Committed by Tim-Philipp Müller

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
parent 1ac6a782
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment