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

Method MemoryLeakOutputStringBuffer

src/CppUTest/MemoryLeakDetector.cpp:133–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 "\tIf this is the case, check whether your malloc/free replacements are working (#define malloc cpputest_malloc etc).\n"
132
133MemoryLeakOutputStringBuffer::MemoryLeakOutputStringBuffer()
134 : total_leaks_(0), giveWarningOnUsingMalloc_(false)
135{
136}
137
138void MemoryLeakOutputStringBuffer::addAllocationLocation(const char* allocationFile, size_t allocationLineNumber, size_t allocationSize, TestMemoryAllocator* allocator)
139{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected