gldisplay: fix list leak
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 7 Apr 2017 09:24:19 +0000 (10:24 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 9 Apr 2017 08:16:48 +0000 (11:16 +0300)
commit884e4b78105db30c21a0bea96cc666252140ee37
tree98db7526a3e8609b4545eabb06cad0e2f76cfe7c
parent9eab67a4af6183a2305cb23beeb0e6b78e9c3e21
gldisplay: fix list leak

Windows aren't always removed in time, and it turns out to be
very, very hard to remove a window in a way that's not racy and
not deadlocky. Since the window itself doesn't leak, freeing
the list on object destruction is enough.

https://bugzilla.gnome.org/show_bug.cgi?id=781018
gst-libs/gst/gl/gstgldisplay.c