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

Function mem_leak_operator_new_nothrow

src/CppUTest/MemoryLeakWarningPlugin.cpp:205–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205static void* mem_leak_operator_new_nothrow (size_t size) UT_NOTHROW
206{
207 return MemoryLeakWarningPlugin::getGlobalDetector()->allocMemory(getCurrentNewAllocator(), size);
208}
209
210static void* mem_leak_operator_new_debug (size_t size, const char* file, size_t line) UT_THROW(std::bad_alloc)
211{

Callers

nothing calls this directly

Calls 2

getCurrentNewAllocatorFunction · 0.85
allocMemoryMethod · 0.80

Tested by

no test coverage detected