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>
Tue, 20 Oct 2015 07:16:38 +0000 (10:16 +0300)
commitf97b5eac686c1ad2e8e247151253bab49ecd951f
tree23d84f8d42e9bd6f60c9d7495e8cd3a81d7fe20c
parentebeee60c3f6e4cdaf54e3d5f5569cadc5019f0f3
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