diff options
author | nicm <nicm> | 2021-08-23 11:48:21 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-23 11:48:21 +0000 |
commit | 03b83a5a34a4257be9029e1f5195dcddcd531caa (patch) | |
tree | 42d487b8be05e6e2341fb80fb6dbaad925eb79f1 /cmd-parse.y | |
parent | 1f0c0914c75980069c6f78872bdee5ceb0ef64e2 (diff) | |
download | rtmux-03b83a5a34a4257be9029e1f5195dcddcd531caa.tar.gz rtmux-03b83a5a34a4257be9029e1f5195dcddcd531caa.tar.bz2 rtmux-03b83a5a34a4257be9029e1f5195dcddcd531caa.zip |
Key bindings steal a reference to the command instead of adding their
own, it was correct not to add a reference when parsing, but the
bind-key then needs to add one.
Diffstat (limited to 'cmd-parse.y')
-rw-r--r-- | cmd-parse.y | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd-parse.y b/cmd-parse.y index f79c7fd3..a08c5819 100644 --- a/cmd-parse.y +++ b/cmd-parse.y @@ -817,7 +817,6 @@ 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++; |