commit | 1784f628950cfd19e0e164a08e1564339e92fc76 | [log] [tgz] |
---|---|---|
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | Thu Feb 15 11:21:34 2018 +0100 |
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | Fri Feb 16 13:56:50 2018 +0100 |
tree | 3189f29543a1263bb2e6a6754cafdb1c4febf1af | |
parent | 06ae49f525f100005722a50f581103ada58e46c6 [diff] |
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