xwayland: Remove the output from the list after destroying it

[Marek Chalupa]: rebased to master

Signed-off-by: Dima Ryazanov <dima@gmail.com>
This commit is contained in:
Dima Ryazanov 2015-05-12 10:21:18 -07:00 committed by Marek Chalupa
parent 550984c95e
commit 95014ad2a7

View File

@ -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);
}