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.
This commit is contained in:
nicm
2021-08-23 11:48:21 +00:00
parent 1f0c0914c7
commit 03b83a5a34
2 changed files with 1 additions and 1 deletions

View File

@ -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++;