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

Method addWarningForUsingMalloc

src/CppUTest/MemoryLeakDetector.cpp:214–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214void MemoryLeakOutputStringBuffer::addWarningForUsingMalloc()
215{
216 outputBuffer_.add(MEM_LEAK_ADDITION_MALLOC_WARNING);
217}
218
219void MemoryLeakOutputStringBuffer::reportDeallocateNonAllocatedMemoryFailure(const char* freeFile, size_t freeLine, TestMemoryAllocator* freeAllocator, MemoryLeakFailure* reporter)
220{

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected