aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-30 22:18:50 -0400
committerGitHub <noreply@github.com>2017-10-30 22:18:50 -0400
commit37b1e8bd25118d2468c2516e1a452d5c6fc3f801 (patch)
tree3e543f42e4fad48f628955ec8e93a3391b4e72a7 /backend
parentebca06bfe46d18763c79f99382ce7c9717b538a6 (diff)
parent9cc51669058d29ab01b3fb71f408c2ff719cfe31 (diff)
Merge pull request #360 from acrisci/bug/x11-output-free
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) {