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

Function threadsafe_mem_leak_realloc

src/CppUTest/MemoryLeakWarningPlugin.cpp:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static void* threadsafe_mem_leak_realloc(void* memory, size_t size, const char* file, size_t line)
61{
62 MemLeakScopedMutex lock;
63 return MemoryLeakWarningPlugin::getGlobalDetector()->reallocMemory(getCurrentMallocAllocator(), (char*) memory, size, file, line, true);
64}
65
66
67static void* mem_leak_malloc(size_t size, const char* file, size_t line)

Callers

nothing calls this directly

Calls 2

reallocMemoryMethod · 0.80

Tested by

no test coverage detected