backend-x11: Fix error shutdown path for x11
Another fix for 14c52a942b
, 'backend-x11: enable multi-backend support'.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
7d7ce84cc6
commit
93e4f4e01f
|
@ -1990,6 +1990,7 @@ err_renderer:
|
||||||
err_xdisplay:
|
err_xdisplay:
|
||||||
XCloseDisplay(b->dpy);
|
XCloseDisplay(b->dpy);
|
||||||
err_free:
|
err_free:
|
||||||
|
wl_list_remove(&b->base.link);
|
||||||
free(b->formats);
|
free(b->formats);
|
||||||
free(b);
|
free(b);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue