From cb0afb29c7d2b0acf5227887510a087be1f5fc6c Mon Sep 17 00:00:00 2001 From: 10195501441 <10195501441@stu.ecnu.edu.com> Date: Tue, 16 Mar 2021 20:52:28 +0800 Subject: [PATCH] check_redirect ver1 --- yeeshell.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/yeeshell.c b/yeeshell.c index cd9fdbd..84fcc2b 100644 --- a/yeeshell.c +++ b/yeeshell.c @@ -252,8 +252,6 @@ int execute(char *cmdline, char **args) } } close(fd); - free(redirect_filename); - free(redirect_args); return 1; }