zneel / minishell

0 stars 0 forks source link

env leak #20

Closed zneel closed 1 year ago

zneel commented 1 year ago

==6632== 4,857 (24 direct, 4,833 indirect) bytes in 1 blocks are definitely lost in loss record 59 of 73 ==6632== at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==6632== by 0x10BCD9: ft_lstnew_env (in /home/ebouvier/42/minishell/minishell) ==6632== by 0x10B8DE: env_cpy (in /home/ebouvier/42/minishell/minishell) ==6632== by 0x109292: main (in /home/ebouvier/42/minishell/minishell) ==6632==

zneel commented 1 year ago

fixed by #22