fluffy-willa-42-team / minishell

0 stars 0 forks source link

Valgrind "mem leak" #9

Closed fluffy-kaiju closed 2 years ago

fluffy-kaiju commented 2 years ago

Todo

Try valgrind on Linux (macos broken)

==61471==
==61471== HEAP SUMMARY:
==61471==     in use at exit: 299,207 bytes in 389 blocks
==61471==   total heap usage: 627 allocs, 238 frees, 322,372 bytes allocated
==61471==
==61471== LEAK SUMMARY:
==61471==    definitely lost: 30,510 bytes in 19 blocks
==61471==    indirectly lost: 134,095 bytes in 190 blocks
==61471==      possibly lost: 2,032 bytes in 1 blocks
==61471==    still reachable: 118,695 bytes in 18 blocks
==61471==         suppressed: 13,875 bytes in 161 blocks
==61471== Rerun with --leak-check=full to see details of leaked memory
==61471==
==61471== Use --track-origins=yes to see where uninitialised values come from
==61471== For lists of detected and suppressed errors, rerun with: -s
==61471== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 1 from 1)