aboutsummaryrefslogtreecommitdiff
path: root/toys/toysh.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/toysh.c')
-rw-r--r--toys/toysh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/toysh.c b/toys/toysh.c
index 365c47fc..c2f494d3 100644
--- a/toys/toysh.c
+++ b/toys/toysh.c
@@ -342,7 +342,7 @@ static void handle(char *command)
// Run those commands
run_pipeline(&line);
- llist_free(line.cmd, free_cmd);
+ llist_traverse(line.cmd, free_cmd);
}
}