My valgrind always says that I'm allocating a lot of stuff even though i'm not. I just did a main that returned 0 and ran valgrind, it returned this. I have just reset my computer.
I don't know if it makes any difference but I'm using a mac Yosemite, but it was happening on the El Capitan as well and soon I'll test on the Sierra too. Is there anything I can do to zero the "allocs" and the "definitely lost" on valgrind? With a log like this I never know if I'm freeing everything correctly
It is happening even when I do not include any libraries
==11011== HEAP SUMMARY:
==11011== in use at exit: 34,527 bytes in 414 blocks
==11011== total heap usage: 514 allocs, 100 frees, 41,503 bytes
allocated
==11011==
==11011== LEAK SUMMARY:
==11011== definitely lost: 16 bytes in 1 blocks
==11011== indirectly lost: 0 bytes in 0 blocks
==11011== possibly lost: 0 bytes in 0 blocks
==11011== still reachable: 0 bytes in 0 blocks
==11011== suppressed: 34,511 bytes in 413 blocks