bin: fix leaks in unit tests
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 28 Apr 2016 11:59:51 +0000 (14:59 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 2 May 2016 06:55:31 +0000 (09:55 +0300)
commit391f767098902e12e26b4d0f48133027e0b4f6e4
tree613be3f2cb947981716d56a17d7f8482e4156019
parent3146c12a67ac7d1d4a897442dfca8bfb6052033c
bin: fix leaks in unit tests

The test rely on bus being flushed when setting the bin to the NULL state which
is not the case. This apply only when setting the pipeline state to
NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=765720
tests/check/gst/gstbin.c