| 465 | ///////////////////////////////////////////////////////////// |
| 466 | |
| 467 | MemoryLeakDetector::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 | |
| 477 | MemoryLeakDetector::~MemoryLeakDetector() |
| 478 | { |
nothing calls this directly
no outgoing calls
no test coverage detected