aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/x11/backend.c')
-rw-r--r--backend/x11/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index a4ca55b0..6c75405c 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -247,7 +247,7 @@ static void wlr_x11_backend_destroy(struct wlr_backend *backend) {
wl_list_remove(&x11->display_destroy.link);
wl_event_source_remove(x11->frame_timer);
- wlr_egl_free(&x11->egl);
+ wlr_egl_finish(&x11->egl);
xcb_disconnect(x11->xcb_conn);
free(x11);