rtpvrawdepay: fix major memory leak and performance issue
authorTim-Philipp Müller <tim@centricular.com>
Thu, 7 Jan 2016 20:27:29 +0000 (20:27 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 8 Jan 2016 16:40:28 +0000 (16:40 +0000)
commita8b864397764af49aa7827056e6c799175b38f39
tree083b12a4fe251e02e8aa0ccefefbd3aaea3380a4
parent98fddf090ce6a72bae1e5397b7db89b55a2faa1c
rtpvrawdepay: fix major memory leak and performance issue

We call gst_rtp_buffer_get_payload() which creates a sub-buffer
of each input buffer, just to copy over metas, and then leak it.

https://bugzilla.gnome.org/show_bug.cgi?id=760289
gst/rtp/gstrtpvrawdepay.c