BNP Paribas interview question

How do you find the memory leak in the program