From 7ecc8255d6ede9d23bf94e102e28c8b9fd032aed Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 30 Jun 2019 19:21:53 +0000 Subject: Do not double free window if pane fails to start. --- usr.bin/tmux/tmux.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.bin/tmux/tmux.h') diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 8a37fb4ce93..85af1e2027d 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.916 2019/06/27 15:17:41 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.917 2019/06/30 19:21:53 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -2362,7 +2362,6 @@ struct window *window_find_by_id_str(const char *); struct window *window_find_by_id(u_int); void window_update_activity(struct window *); struct window *window_create(u_int, u_int); -void window_destroy(struct window *); void window_pane_set_event(struct window_pane *); struct window_pane *window_get_active_at(struct window *, u_int, u_int); struct window_pane *window_find_string(struct window *, const char *); -- cgit v1.2.3-59-g8ed1b