From 9cc51669058d29ab01b3fb71f408c2ff719cfe31 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Mon, 30 Oct 2017 19:23:24 -0400 Subject: bug: free x11 backend output in destroy --- 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 9d7e252a..37bbdaec 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -331,6 +331,7 @@ static void output_destroy(struct wlr_output *wlr_output) { eglDestroySurface(x11->egl.display, output->surf); xcb_destroy_window(x11->xcb_conn, output->win); + free(wlr_output); } static void output_make_current(struct wlr_output *wlr_output) { -- cgit v1.2.3