jzck / 42sh

:four::two: bash-like shell (school project)
7 stars 2 forks source link

jobs control LEAKS #214

Closed Gwojda closed 7 years ago

Gwojda commented 7 years ago

(vim)&

->

==2600== 
==2600== 386 (24 direct, 362 indirect) bytes in 1 blocks are definitely lost in loss record 68 of 78
==2600==    at 0x4C2DB9D: malloc (vg_replace_malloc.c:299)
==2600==    by 0x41C2B0: ft_malloc (in /home/gwojda/42sh/42sh)
==2600==    by 0x41BED3: ft_lstnew (in /home/gwojda/42sh/42sh)
==2600==    by 0x40F13C: job_addprocess (in /home/gwojda/42sh/42sh)
==2600==    by 0x40716A: exec_leaf (in /home/gwojda/42sh/42sh)
==2600==    by 0x4075F6: ft_exec (in /home/gwojda/42sh/42sh)
==2600==    by 0x406A32: exec_ampersand (in /home/gwojda/42sh/42sh)
==2600==    by 0x4075F6: ft_exec (in /home/gwojda/42sh/42sh)
==2600==    by 0x4073DA: exec_semi (in /home/gwojda/42sh/42sh)
==2600==    by 0x4075F6: ft_exec (in /home/gwojda/42sh/42sh)
==2600==    by 0x416FEB: ??? (in /home/gwojda/42sh/42sh)
==2600==    by 0x417090: main (in /home/gwojda/42sh/42sh)