From 95014ad2a7815282efdecc895bf14742b4b3ccb3 Mon Sep 17 00:00:00 2001 From: Dima Ryazanov Date: Tue, 12 May 2015 10:21:18 -0700 Subject: [PATCH] xwayland: Remove the output from the list after destroying it [Marek Chalupa]: rebased to master Signed-off-by: Dima Ryazanov --- hw/xwayland/xwayland-output.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xwayland/xwayland-output.c b/hw/xwayland/xwayland-output.c index 927224ac2..28aec8e15 100644 --- a/hw/xwayland/xwayland-output.c +++ b/hw/xwayland/xwayland-output.c @@ -185,6 +185,7 @@ void xwl_output_destroy(struct xwl_output *xwl_output) { wl_output_destroy(xwl_output->output); + xorg_list_del(&xwl_output->link); free(xwl_output); }