From 58e8e0eac841d6d337de3da4e2f81665c3cd3faa Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 21 Aug 2012 10:00:33 +0000 Subject: 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. --- tmux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 10d4f03d..449f0676 100644 --- a/tmux.h +++ b/tmux.h @@ -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 *); -- cgit v1.2.3