| 561 | } |
| 562 | |
| 563 | size_t MemoryAccountant::totalDeallocations() const |
| 564 | { |
| 565 | size_t theTotalDeallocations = 0; |
| 566 | |
| 567 | for (MemoryAccountantAllocationNode* node = head_; node; node = node->next_) |
| 568 | theTotalDeallocations += node->deallocations_; |
| 569 | |
| 570 | return theTotalDeallocations; |
| 571 | } |
| 572 | |
| 573 | SimpleString MemoryAccountant::reportNoAllocations() const |
| 574 | { |