What is the best way to find memory leaks in c++ code invoked from a python script (with boost::python library).
For example, say this is my c++ code: