summaryrefslogtreecommitdiffstats
path: root/cmd-break-pane.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-03-22 15:55:22 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-03-22 15:55:22 +0000
commitc519f9a84cd9fc3fdec8b61afaf42995f9e48b46 (patch)
treed919d29ab80617b5f44f43952bfe3cf6b6dc1542 /cmd-break-pane.c
parent2243cfbe7559e6cf48194ff95dcd7eb6df5fe41d (diff)
evbuffer_readline returns allocated storage, don't leak it.
Diffstat (limited to 'cmd-break-pane.c')
-rw-r--r--cmd-break-pane.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd-break-pane.c b/cmd-break-pane.c
index 038ec85c..57628a7a 100644
--- a/cmd-break-pane.c
+++ b/cmd-break-pane.c
@@ -93,7 +93,6 @@ cmd_break_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
server_status_session_group(s);
if (args_has(args, 'P')) {
-
if ((template = args_get(args, 'F')) == NULL)
template = BREAK_PANE_TEMPLATE;