bug: free x11 backend output in destroy

This commit is contained in:
Tony Crisci 2017-10-30 19:23:24 -04:00
parent ebca06bfe4
commit 9cc5166905
1 changed files with 1 additions and 0 deletions

View File

@ -331,6 +331,7 @@ static void output_destroy(struct wlr_output *wlr_output) {
eglDestroySurface(x11->egl.display, output->surf); eglDestroySurface(x11->egl.display, output->surf);
xcb_destroy_window(x11->xcb_conn, output->win); xcb_destroy_window(x11->xcb_conn, output->win);
free(wlr_output);
} }
static void output_make_current(struct wlr_output *wlr_output) { static void output_make_current(struct wlr_output *wlr_output) {