const char* MemoryLeakDetector::report(MemLeakPeriod period) { if (!memoryTable_.hasLeaks(period)) return MEM_LEAK_NONE; output_buffer_.clear(); ConstructMemoryLeakReport(period); return output_buffer_.toString(); }
const char* MemoryLeakDetector::report(MemLeakPeriod period) { ConstructMemoryLeakReport(period); return outputBuffer_.toString(); }