CO-CODE Hugo-Luke
+ last_exit_status set/get functions for here_doc + TODO : replace all occurences of last_exit_status + **environ fix + builtin_unset() fix
This commit is contained in:
@@ -14,10 +14,12 @@
|
||||
|
||||
int free_exit(t_all *c, int exit_status)
|
||||
{
|
||||
extern char **environ;
|
||||
|
||||
free(c->prompt_base);
|
||||
free(c->prompt);
|
||||
ft_lstclear((t_list **)&c->token_list, free);
|
||||
// ft_free_2d_arr(c->envp);
|
||||
ft_free_2d_arr(environ);
|
||||
ft_free_2d_arr(c->path);
|
||||
free_pipeline(&c->cmd_arr);
|
||||
//if (c->termios_changed)
|
||||
|
||||
Reference in New Issue
Block a user