| 331 | } |
| 332 | |
| 333 | void FailableMemoryAllocator::failAllocNumber(int number) |
| 334 | { |
| 335 | LocationToFailAllocNode* newNode = (LocationToFailAllocNode*) (void*) allocMemoryLeakNode(sizeof(LocationToFailAllocNode)); |
| 336 | newNode->failAtAllocNumber(number, head_); |
| 337 | head_ = newNode; |
| 338 | } |
| 339 | |
| 340 | void FailableMemoryAllocator::failNthAllocAt(int allocationNumber, const char* file, size_t line) |
| 341 | { |
no test coverage detected