audioaggregator: fix buffer leak
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 19 May 2016 08:16:37 +0000 (11:16 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 21 Jun 2016 07:52:47 +0000 (10:52 +0300)
commit937a42247a22ff50ea1057c09273db93a8497109
tree03ff141734c51c23bd22f8bf9289d3abd9f7c004
parentfe159a684732b83561e07d5e8d3c5609b7348405
audioaggregator: fix buffer leak

If the pad was still owning a buffer when being destroyed it was leaked.

Fix a leak with the test_flush_start_flush_stop test.

https://bugzilla.gnome.org/show_bug.cgi?id=766663
gst-libs/gst/audio/gstaudioaggregator.c