minishell>unset PATH
==379031== Invalid read of size 8
==379031== at 0x402F1E: ft_delete_elm (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x4072A6: ft_var_unset (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x407375: ft_unset (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x404D3F: ft_builtin_caller (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x40556F: ft_call_single_builtin (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x4057F9: ft_call_execution (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x401C7D: ft_command_parse (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x401D43: ft_lexa_parse (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x401DD8: ft_minishell_exit_result (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x402123: ft_line_loop (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x401468: main (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== Address 0x4b26d60 is 16 bytes inside a block of size 24 free'd
==379031== at 0x484B27F: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==379031== by 0x402DBA: ft_del_node (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x402F19: ft_delete_elm (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x4072A6: ft_var_unset (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x407375: ft_unset (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x404D3F: ft_builtin_caller (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x40556F: ft_call_single_builtin (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x4057F9: ft_call_execution (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x401C7D: ft_command_parse (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x401D43: ft_lexa_parse (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x401DD8: ft_minishell_exit_result (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x402123: ft_line_loop (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== Block was alloc'd at
==379031== at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==379031== by 0x407CDC: ft_env_lstnew (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x407E8C: ft_create_envlist (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x401348: ft_init_env (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031== by 0x40144C: main (in /mnt/nfs/homes/tadiyamu/42/minishell/minishell)
==379031==