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/headless/backend.c | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/headless/backend.c') diff --git a/backend/headless/backend.c b/backend/headless/backend.c index 81b01376..1d29e12a 100644 --- a/backend/headless/backend.c +++ b/backend/headless/backend.c @@ -54,6 +54,7 @@ static void backend_destroy(struct wlr_backend *wlr_backend) { wlr_signal_emit_safe(&wlr_backend->events.destroy, backend); + wlr_renderer_destroy(backend->renderer); wlr_egl_finish(&backend->egl); free(backend); } -- cgit v1.2.3