diff --git a/02-TeenyTinyShell/ttsh.c b/02-TeenyTinyShell/ttsh.c index 96ab64b..ffee965 100644 --- a/02-TeenyTinyShell/ttsh.c +++ b/02-TeenyTinyShell/ttsh.c @@ -130,6 +130,8 @@ int main() printf("Fork failed\n"); exit(1); } + free(args); + free(str); } } }