aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-30 19:23:24 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-30 19:23:24 -0400
commit9cc51669058d29ab01b3fb71f408c2ff719cfe31 (patch)
tree3e543f42e4fad48f628955ec8e93a3391b4e72a7 /backend
parentebca06bfe46d18763c79f99382ce7c9717b538a6 (diff)
bug: free x11 backend output in destroy
Diffstat (limited to 'backend')
-rw-r--r--backend/x11/backend.c1
1 files changed, 1 insertions, 0 deletions
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) {