summaryrefslogtreecommitdiff
path: root/lib/command_graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_graph.c')
-rw-r--r--lib/command_graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_graph.c b/lib/command_graph.c
index 7c09a5cd6c..3e52f42598 100644
--- a/lib/command_graph.c
+++ b/lib/command_graph.c
@@ -92,7 +92,7 @@ struct graph_node *
copy_node (struct graph_node *node)
{
struct graph_node *new = new_node(node->type);
- new->children = vector_copy (node->children);
+ new->children = NULL;
new->is_start = node->is_start;
new->end = node->end;
new->text = node->text ? XSTRDUP(MTYPE_CMD_TOKENS, node->text) : NULL;