[PATCH 1/4] xwayland: Remove the output from the list after destroying it

Dima Ryazanov dima at gmail.com
Tue May 12 10:21:18 PDT 2015


Signed-off-by: Dima Ryazanov <dima at gmail.com>
---
 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 155cbc1..1d75d0b 100644
--- a/hw/xwayland/xwayland-output.c
+++ b/hw/xwayland/xwayland-output.c
@@ -190,6 +190,7 @@ xwl_output_destroy(struct xwl_output *xwl_output)
     wl_output_destroy(xwl_output->output);
     RRCrtcDestroy(xwl_output->randr_crtc);
     RROutputDestroy(xwl_output->randr_output);
+    xorg_list_del(&xwl_output->link);
     free(xwl_output);
 }
 
-- 
2.4.0



More information about the wayland-devel mailing list