From cd9f25711cd2ce46a9af577b6426bab73c270fda Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 24 Apr 2018 22:45:44 +0100 Subject: backend: destroy renderer when destroying backend --- backend/x11/backend.c | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/x11') diff --git a/backend/x11/backend.c b/backend/x11/backend.c index b4b0f154..3a409155 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -239,6 +239,7 @@ static void wlr_x11_backend_destroy(struct wlr_backend *backend) { } wl_list_remove(&x11->display_destroy.link); + wlr_renderer_destroy(x11->renderer); wlr_egl_finish(&x11->egl); if (x11->cursor) { -- cgit v1.2.3