diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-10-30 19:25:16 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-10-30 19:25:16 +0000 |
| commit | 883354ffb1856846ea002e570c1eccdfb54c09c5 (patch) | |
| tree | 142de739682b9f9106172fca32f3942270be311d | |
| parent | term: assign client PID to term->slave (diff) | |
wayland: wayl_win_destroy(): return early if win == NULL
| -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); |
