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

Method clearReporting

src/CppUTestExt/CodeMemoryReportFormatter.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void CodeMemoryReportFormatter::clearReporting()
57{
58 while (codeReportingList_) {
59 CodeReportingAllocationNode* oldNode = codeReportingList_;
60 codeReportingList_ = codeReportingList_->next_;
61 internalAllocator_->free_memory((char*) oldNode, 0, __FILE__, __LINE__);
62 }
63}
64
65void CodeMemoryReportFormatter::addNodeToList(const char* variableName, void* memory, CodeReportingAllocationNode* next)
66{

Callers

nothing calls this directly

Calls 1

free_memoryMethod · 0.45

Tested by

no test coverage detected