From 56e37487a81f07b4c8f409e72dea6c5b746de4b3 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 31 Aug 2012 09:22:08 +0000 Subject: Sync OpenBSD patchset 1165: 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 442e09f7..a3d64dee 100644 --- a/tmux.h +++ b/tmux.h @@ -2126,6 +2126,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