We can use Valgrind to find memory leaks on main() return. But, this is not the case here. The process will run forever. How to find the memory leak in this case.
I have used static analysis on source code to fix the leaks. But, If there are any places where static analysis failed and leaks. How to find those leaks?
Any help will be greatly appreciated!!