summaryrefslogtreecommitdiffstats
path: root/cmd-parse.y
diff options
context:
space:
mode:
authornicm <nicm>2021-08-23 11:08:26 +0000
committernicm <nicm>2021-08-23 11:08:26 +0000
commit1f0c0914c75980069c6f78872bdee5ceb0ef64e2 (patch)
treecbe2e0476ec397db837f8d6d1deacc781d30aac2 /cmd-parse.y
parent4a753dbefc2e67c218cf41141eaa6afab00f774a (diff)
Revert one of previous, for some reason it is being freed.
Diffstat (limited to 'cmd-parse.y')
-rw-r--r--cmd-parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-parse.y b/cmd-parse.y
index a08c5819..f79c7fd3 100644
--- a/cmd-parse.y
+++ b/cmd-parse.y
@@ -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++;