rtph265pay: fix buffer leak when using SPS/PPS
authorLuis de Bethencourt <luis@debethencourt.com>
Fri, 14 Aug 2015 14:08:08 +0000 (15:08 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 16 Feb 2016 00:24:41 +0000 (00:24 +0000)
commitf2bae3ab5936271b12f92aefdd0cba559c79ecab
tree6e094db173ae9d472a25238698748ec2ac3651fb
parentf1e284943886fd282aae3fe83c267e2b9623b04e
rtph265pay: fix buffer leak when using SPS/PPS

Fixes a buffer leak that would occur if the pipeline was shutdown while a
SPS/PPS header was being created.

https://bugzilla.gnome.org/show_bug.cgi?id=741271
gst/rtp/gstrtph265pay.c