Previous The compilation |
Parent How to fix memory leak with valgrind |
Outline | Next To enable the debugging symbols |
The point here is : if you already know that your program has a memory leak, this leak is probably huge.
As for the debugger mode, the memory check (or memcheck) is performed by valgrind by emulating the CPU. It is here to help you when you want to find why something is going wrong in your program such as memory leak.
Previous The compilation |
Parent How to fix memory leak with valgrind |
Outline | Next To enable the debugging symbols |