`ls`: fix memory leak.

master
Drake 2 years ago
parent 182090801f
commit 177e7648c4

@ -137,6 +137,7 @@ static int listDirs(char *thatpath, bool specpath, bool colour, bool showdot,
printf("%s ", words[i]);
}
}
free(words[i]);
}
printf("\n");
return 0;

Loading…
Cancel
Save