3lsy / minishell

Simple shell in C
2 stars 0 forks source link

on exit #38

Closed AndreIglesias closed 9 months ago

AndreIglesias commented 9 months ago

==29399== 2 bytes in 1 blocks are definitely lost in loss record 1 of 23 ==29399== at 0x8961899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==29399== by 0x110021: ft_strdup (in /home//42/minishell/minishell) ==29399== by 0x110950: ft_itoa (in /home//42/minishell/minishell) ==29399== by 0x10B9B1: expand_line (in /home//42/minishell/minishell) ==29399== by 0x10A871: ft_lexer (in /home//42/minishell/minishell) ==29399== by 0x10A7DA: ft_analyzer (in /home//42/minishell/minishell) ==29399== by 0x10A439: main (in /home//42/minishell/minishell)

AndreIglesias commented 9 months ago

This was itoa exit_status not freed.