diff options
| -rw-r--r-- | wayland.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -684,6 +684,9 @@ out: void wayl_win_destroy(struct wl_window *win) { + if (win == NULL) + return; + tll_free(win->on_outputs); if (win->search_sub_surface != NULL) wl_subsurface_destroy(win->search_sub_surface); |
