==3494== in use at exit: 0 bytes in 0 blocks
==3494== total heap usage: 6 allocs, 6 frees, 2,912 bytes allocated
==3494==
==3494== All heap blocks were freed -- no leaks are possible
==3494== ERROR SUMMARY: 260 errors from 5 contexts (suppressed: 0 from 0)
I think perhaps correctly(?) The allocations are freed when running the flag "-prod" for compiling. When this flag isn't passed, you end up with:
"total heap usage: 26 allocs, 11 frees, 8,702 bytes allocated"
==3494== in use at exit: 0 bytes in 0 blocks
==3494== total heap usage: 6 allocs, 6 frees, 2,912 bytes allocated
==3494==
==3494== All heap blocks were freed -- no leaks are possible
==3494== ERROR SUMMARY: 260 errors from 5 contexts (suppressed: 0 from 0)
I think perhaps correctly(?) The allocations are freed when running the flag "-prod" for compiling. When this flag isn't passed, you end up with:
"total heap usage: 26 allocs, 11 frees, 8,702 bytes allocated"