Merge pull request #360 from acrisci/bug/x11-output-free
bug: free x11 backend output in destroy
This commit is contained in:
		
						commit
						37b1e8bd25
					
				|  | @ -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) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue