diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-08-21 10:00:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-08-21 10:00:33 +0000 |
commit | 58e8e0eac841d6d337de3da4e2f81665c3cd3faa (patch) | |
tree | 512efdef7e6cc33d659c2de5fdeb0c2a75eb71c4 /tmux.h | |
parent | a1e4908ed7d14c5b406541144017d57db4750c56 (diff) |
Fix up window reference counting and don't crash if the rename timer
fires while the window is dead but still referenced. Fixes problem
reported by Michael Scholz.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2130,6 +2130,7 @@ struct window_pane *window_pane_find_down(struct window_pane *); struct window_pane *window_pane_find_left(struct window_pane *); struct window_pane *window_pane_find_right(struct window_pane *); void window_set_name(struct window *, const char *); +void window_remove_ref(struct window *); void winlink_clear_flags(struct winlink *); void window_mode_attrs(struct grid_cell *, struct options *); |