Each time I compile a program (no matter what it is) and then check it with valgrind, I get a message saying:
==20455== HEAP SUMMARY:
==20455== in use at exit: 72,704 bytes in 1 blocks
==20455== total heap usage: 1 allocs, 0 frees, 72,704 bytes allocated
I even got this when trying to writing this code:
int main{
return 0;
}
any idea on where or how to find this memory leak? and why is it happening on every single program?