valgrind leaks detected no matter what

Viewed 278

Even when I compile and run a program like this:

int main() {
    return 0;
}

I get the following valgrind errors when I run valgrind --leak-check=yes ./a.out

==26391== LEAK SUMMARY:
==26391==    definitely lost: 0 bytes in 0 blocks
==26391==    indirectly lost: 0 bytes in 0 blocks
==26391==      possibly lost: 72 bytes in 3 blocks
==26391==    still reachable: 200 bytes in 6 blocks
==26391==         suppressed: 18,528 bytes in 153 blocks
==26391== Reachable blocks (those to which a pointer was found) are not shown.
==26391== To see them, rerun with: --leak-check=full --show-leak-kinds=all

I am compiling with clang++ test.cpp. I am at a total loss for how to fix this.

Thank you!

1 Answers
Related