Have you ever struggled with detecting where leaks come from?
There are such tools as can detect the leaks out there, but you should be surprised how hard the use of them is at your disposal. IMHO it is the lack of flexibility that they own. In such cases, I'd rather recommend you this module.
The use of the module is so simple, and what you have to do is just enclosing statements with braces following leaktrace, etc.