mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-03-15 03:16:51 +01:00
「🔨」 fix: compiling
This commit is contained in:
@ -6,13 +6,16 @@
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/07/15 12:28:36 by adjoly #+# #+# */
|
||||
/* Updated: 2024/07/15 15:24:37 by adjoly ### ########.fr */
|
||||
/* Updated: 2024/07/15 15:27:45 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "minishell.h"
|
||||
#include "parsing.h"
|
||||
|
||||
void free_exit(t_env *env)
|
||||
{
|
||||
rl_clear_history();
|
||||
ft_envclear(&env_l, free);
|
||||
ft_envclear(&env, free);
|
||||
ft_lstclear(get_list(NULL), &free_cmd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user