You'd have to use tools dedicated for tracing memory leaks.