gl/wayland: Memory leak when display couldn't connect
When trying to create a wayland display, it may fail because there is not actually display to connect. It this case NULL is returned but the created instance is not freed. This patch unrefs the failed display. https://bugzilla.gnome.org/show_bug.cgi?id=793483
Showing
Please register or sign in to comment