gldisplay: fix list leak
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 7 Apr 2017 09:24:19 +0000 (10:24 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:27 +0000 (19:32 +0000)
commit697cd40ee41818c42ea177f8fb7861399612d546
tree9523afebaab137b1986069e9e392b2fa833a0bdc
parent920d295c97be95c638873ee778367f82a39d2d38
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