bin: Make sure to free all cached messages when going to NULL
authorSebastian Dröge <sebastian@centricular.com>
Sat, 17 Oct 2015 19:13:08 +0000 (22:13 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 19 Oct 2015 08:06:54 +0000 (11:06 +0300)
commit2955eeb0eda1c87fb323368c86ca6456c4da522d
tree2c1d01b73096ba57c1734a82caac078a004b2bf8
parentbc5c199bc507222a62d1d6ba0584b8b8d5c05b23
bin: Make sure to free all cached messages when going to NULL

An ASYNC READY->PAUSED might have failed without the bin code noticing during
the state change, in which case we will never get PAUSED->READY and would leak
messages.

https://bugzilla.gnome.org/show_bug.cgi?id=756611
gst/gstbin.c