diff options
author | Dima Ryazanov <dima@gmail.com> | 2015-05-12 10:21:18 -0700 |
---|---|---|
committer | Marek Chalupa <mchqwerty@gmail.com> | 2015-09-25 15:24:00 +0200 |
commit | 95014ad2a7815282efdecc895bf14742b4b3ccb3 (patch) | |
tree | 79c569677cf19f0975712aab2b17975af11b4ed8 | |
parent | 550984c95ef0bee1886dbb54e35edc0852772e2f (diff) |
xwayland: Remove the output from the list after destroying it
[Marek Chalupa]: rebased to master
Signed-off-by: Dima Ryazanov <dima@gmail.com>
-rw-r--r-- | hw/xwayland/xwayland-output.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |