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

Method MemoryLeakDetector

src/CppUTest/MemoryLeakDetector.cpp:467–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465/////////////////////////////////////////////////////////////
466
467MemoryLeakDetector::MemoryLeakDetector(MemoryLeakFailure* reporter)
468{
469 doAllocationTypeChecking_ = true;
470 allocationSequenceNumber_ = 1;
471 current_period_ = mem_leak_period_disabled;
472 current_allocation_stage_ = 0;
473 reporter_ = reporter;
474 mutex_ = new SimpleMutex;
475}
476
477MemoryLeakDetector::~MemoryLeakDetector()
478{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected