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)
commit172529e151b2b2c2d7f144ee3dbc7257085171d2
treeb6ea27ffff46375bb4d39e131715de1c020a503c
parente925a8acf069b094a83a872cb1793586ceb5b0c3
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