summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-06-30 19:21:53 +0000
committernicm <nicm@openbsd.org>2019-06-30 19:21:53 +0000
commit7ecc8255d6ede9d23bf94e102e28c8b9fd032aed (patch)
treecaec8ecb6c7e4a3b515cfada7bcea13e5ef1f1ab /usr.bin/tmux/tmux.h
parentgetifaddrs() returns -1. (diff)
downloadwireguard-openbsd-7ecc8255d6ede9d23bf94e102e28c8b9fd032aed.tar.xz
wireguard-openbsd-7ecc8255d6ede9d23bf94e102e28c8b9fd032aed.zip
Do not double free window if pane fails to start.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h3
1 files changed, 1 insertions, 2 deletions
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 <nicholas.marriott@gmail.com>
@@ -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 *);