==11074== HEAP SUMMARY:
==11074== in use at exit: 893 bytes in 23 blocks
==11074== total heap usage: 565 allocs, 542 frees, 88,521 bytes allocated
==11074==
==11074== 223 (88 direct, 135 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 20
==11074== at 0x483BCE2: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11074== by 0x4851702: mrsh_simple_command_create (ast.c:283)
==11074== by 0x4852C47: mrsh_command_copy (ast.c:723)
==11074== by 0x485CBF4: copy_simple_command (tasks.c:10)
==11074== by 0x485CC30: task_for_simple_command (tasks.c:19)
==11074== by 0x485D092: task_for_command (tasks.c:93)
==11074== by 0x485D216: task_for_pipeline (tasks.c:119)
==11074== by 0x485CF7B: task_for_node (tasks.c:135)
==11074== by 0x485CEDD: task_for_command_list_array (tasks.c:64)
==11074== by 0x485C925: mrsh_run_program (shell.c:34)
==11074== by 0x109824: main (main.c:126)
==11074==
==11074== 303 (88 direct, 215 indirect) bytes in 1 blocks are definitely lost in loss record 19 of 20
==11074== at 0x483BCE2: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11074== by 0x4851702: mrsh_simple_command_create (ast.c:283)
==11074== by 0x4852C47: mrsh_command_copy (ast.c:723)
==11074== by 0x485CBF4: copy_simple_command (tasks.c:10)
==11074== by 0x485CC30: task_for_simple_command (tasks.c:19)
==11074== by 0x485D092: task_for_command (tasks.c:93)
==11074== by 0x485D216: task_for_pipeline (tasks.c:119)
==11074== by 0x485CF7B: task_for_node (tasks.c:135)
==11074== by 0x485CEDD: task_for_command_list_array (tasks.c:64)
==11074== by 0x485E826: task_loop_clause_create (loop_clause.c:67)
==11074== by 0x485D1B4: task_for_loop_clause (tasks.c:85)
==11074== by 0x485D124: task_for_command (tasks.c:105)
==11074==
==11074== 303 (88 direct, 215 indirect) bytes in 1 blocks are definitely lost in loss record 20 of 20
==11074== at 0x483BCE2: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11074== by 0x4851702: mrsh_simple_command_create (ast.c:283)
==11074== by 0x4852C47: mrsh_command_copy (ast.c:723)
==11074== by 0x485CBF4: copy_simple_command (tasks.c:10)
==11074== by 0x485CC30: task_for_simple_command (tasks.c:19)
==11074== by 0x485D092: task_for_command (tasks.c:93)
==11074== by 0x485D216: task_for_pipeline (tasks.c:119)
==11074== by 0x485CF7B: task_for_node (tasks.c:135)
==11074== by 0x485CEDD: task_for_command_list_array (tasks.c:64)
==11074== by 0x485E972: task_loop_clause_poll (loop_clause.c:50)
==11074== by 0x485EFE1: task_poll (task.c:30)
==11074== by 0x485EAE0: task_pipeline_poll (pipeline.c:69)
==11074==
==11074== LEAK SUMMARY:
==11074== definitely lost: 264 bytes in 3 blocks
==11074== indirectly lost: 565 bytes in 19 blocks
==11074== possibly lost: 0 bytes in 0 blocks
==11074== still reachable: 64 bytes in 1 blocks
==11074== suppressed: 0 bytes in 0 blocks