From: nicm Date: Mon, 23 Aug 2021 11:08:26 +0000 (+0000) Subject: Revert one of previous, for some reason it is being freed. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6aad996c303438e231f51bd24bc1c6abf91dd9b6;p=openbsd Revert one of previous, for some reason it is being freed. --- diff --git a/usr.bin/tmux/cmd-parse.y b/usr.bin/tmux/cmd-parse.y index 10519d2b5e9..5d98dec6133 100644 --- a/usr.bin/tmux/cmd-parse.y +++ b/usr.bin/tmux/cmd-parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-parse.y,v 1.43 2021/08/23 11:04:21 nicm Exp $ */ +/* $OpenBSD: cmd-parse.y,v 1.44 2021/08/23 11:08:26 nicm Exp $ */ /* * Copyright (c) 2019 Nicholas Marriott @@ -817,6 +817,7 @@ cmd_parse_build_command(struct cmd_parse_command *cmd, goto out; values[count].type = ARGS_COMMANDS; values[count].cmdlist = pr->cmdlist; + values[count].cmdlist->references++; break; } count++;