diff options
Diffstat (limited to 'toys/which.c')
-rw-r--r-- | toys/which.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/which.c b/toys/which.c index 0ffc725a..4923859c 100644 --- a/toys/which.c +++ b/toys/which.c @@ -53,7 +53,7 @@ static int which_in_path(char *filename) puts(list->str); // If we should stop at one match, do so if (!toys.optflags) { - llist_free(list, NULL); + llist_traverse(list, free); break; } } |