| 161 | } |
| 162 | |
| 163 | void CodeMemoryReportFormatter::report_free_memory(TestResult* result, TestMemoryAllocator* allocator, char* memory, const char* file, size_t line) |
| 164 | { |
| 165 | SimpleString variableName; |
| 166 | CodeReportingAllocationNode* node = findNode(memory); |
| 167 | |
| 168 | if (memory == NULLPTR) variableName = "NULL"; |
| 169 | else variableName = node->variableName_; |
| 170 | |
| 171 | result->print(StringFromFormat("\t%s\n", getDeallocationString(allocator, variableName, file, line).asCharString()).asCharString()); |
| 172 | } |
nothing calls this directly
no test coverage detected