🔨」 fix(builtins/export): fixed double values when empty + leaks

This commit is contained in:
yosyo
2024-07-13 16:12:20 +02:00
parent d7c5e9611b
commit 47b8806eec
3 changed files with 19 additions and 8 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/22 13:05:18 by adjoly #+# #+# */
/* Updated: 2024/07/11 19:00:04 by mmoussou ### ########.fr */
/* Updated: 2024/07/13 16:10:38 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -30,6 +30,7 @@ void ft_env(t_env *env);
void ft_unset(char *arg, t_env *env);
char **env_get_list(t_env *env);
void add_to_env(char *name, char *content, t_env *env);
void ft_export(char **args, t_env *env);
#endif