If it is known that an application leaks memory (when executed), what are the various ways to locate such memory leak bugs in the source code of the application.
I know of certain parsers/tools (which probably do static analysis of the code) which can be used here but are there any other ways/techniques to do that, specific to the language (C/C++)/platform?
If it is known that an application leaks memory (when executed), what are the
Share
There’s valgrind and probably other great tools out there.
But I’ll tell you what I do, that works very well for me, given that many times I code in environments where you can’t run valgrind: