aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-08-19 09:30:47 +0200
committerDominique Martinet <asmadeus@codewreck.org>2017-08-19 09:31:06 +0200
commit062d923b0a872a0417542ab069cb71da787bc2d0 (patch)
tree2e5680364bdc214b02c21cddb54ee4bbae85857b /backend
parent5885679e33b4082e727fb55e1700b67159ec9d06 (diff)
wayland backend: wl_event_source_remove on destroy
Diffstat (limited to 'backend')
-rw-r--r--backend/wayland/backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/wayland/backend.c b/backend/wayland/backend.c
index 7bb0d0e9..d917c7e9 100644
--- a/backend/wayland/backend.c
+++ b/backend/wayland/backend.c
@@ -88,6 +88,7 @@ static void wlr_wl_backend_destroy(struct wlr_backend *_backend) {
list_free(backend->outputs);
free(backend->seat_name);
+ wl_event_source_remove(backend->remote_display_src);
wlr_egl_free(&backend->egl);
if (backend->seat) wl_seat_destroy(backend->seat);
if (backend->shm) wl_shm_destroy(backend->shm);