MCPcopy Create free account
hub / github.com/cpputest/cpputest / ConstructMemoryLeakReport

Method ConstructMemoryLeakReport

src/CppUTest/MemoryLeakDetector.cpp:723–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721}
722
723void MemoryLeakDetector::ConstructMemoryLeakReport(MemLeakPeriod period)
724{
725 MemoryLeakDetectorNode* leak = memoryTable_.getFirstLeak(period);
726
727 outputBuffer_.startMemoryLeakReporting();
728
729 while (leak) {
730 outputBuffer_.reportMemoryLeak(leak);
731 leak = memoryTable_.getNextLeak(leak, period);
732 }
733
734 outputBuffer_.stopMemoryLeakReporting();
735}
736
737const char* MemoryLeakDetector::report(MemLeakPeriod period)
738{

Callers

nothing calls this directly

Calls 5

getFirstLeakMethod · 0.80
reportMemoryLeakMethod · 0.80
getNextLeakMethod · 0.80

Tested by

no test coverage detected