From 7f91cbdfea6df86dd62a76d03187d75fe538b5b4 Mon Sep 17 00:00:00 2001 From: Trevor Barnes Date: Fri, 24 Feb 2023 15:05:07 -0600 Subject: [PATCH] more repo cleanup --- 02-TeenyTinyShell/ttsh.c | 2 ++ 1 file changed, 2 insertions(+) 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); } } }