diff options
author | Rob Landley <rob@landley.net> | 2012-07-15 17:22:04 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-07-15 17:22:04 -0500 |
commit | 9e2b6db36ab6486172fccd0e1786532826d58c53 (patch) | |
tree | 8027567bf76e073ad13594d634e0268de6f83e05 /toys/toysh.c | |
parent | 2037b8396427ab82edd1912357e9177a2800b01a (diff) | |
download | toybox-9e2b6db36ab6486172fccd0e1786532826d58c53.tar.gz |
Genericize llist code a bit: rename llist_free() to llist_traverse(), and no longer accept NULL as a synonym for free.
Diffstat (limited to 'toys/toysh.c')
-rw-r--r-- | toys/toysh.c | 2 |
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); } } |