playbin: fix suburidecodebin leak
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 16 May 2016 13:39:02 +0000 (15:39 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 17 May 2016 06:55:51 +0000 (09:55 +0300)
commit92343b6f208330d2161a049d1a41d82bbb8f0885
tree23858e95711df848e0c82d1bf2f0b4801b854e49
parentece702920f8aec350ee617115192eb7f439803d4
playbin: fix suburidecodebin leak

We take a ref before removing which was never freeded.
The element is still alive anyway because the group has its own ref as
well.

Fix a leak with the 'test_suburi_error_wrongproto' test.

https://bugzilla.gnome.org/show_bug.cgi?id=766515
gst/playback/gstplaybin2.c