gl/wayland: call eglTerminate() before wl_display_disconnect()
authorMatthew Waters <matthew@centricular.com>
Tue, 5 Sep 2017 06:14:02 +0000 (16:14 +1000)
committerMatthew Waters <matthew@centricular.com>
Tue, 5 Sep 2017 11:16:33 +0000 (21:16 +1000)
commit3f2a3d0db928e47c1b2f1074ff7c72a69396147a
tree48e74bbeb72ff810367c32a7699fb25edeba4f31
parent03e96f3ceb76704ea1ec0812d99d33415dd4fb2c
gl/wayland: call eglTerminate() before wl_display_disconnect()

Calling these two functions in the wrong order will result in
use-after-free inside wayland.

https://bugzilla.gnome.org/show_bug.cgi?id=787293
gst-libs/gst/gl/wayland/gstgldisplay_wayland.c