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

Function mem_leak_malloc

src/CppUTest/MemoryLeakWarningPlugin.cpp:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66
67static void* mem_leak_malloc(size_t size, const char* file, size_t line)
68{
69 return MemoryLeakWarningPlugin::getGlobalDetector()->allocMemory(getCurrentMallocAllocator(), size, file, line, true);
70}
71
72static void mem_leak_free(void* buffer, const char* file, size_t line)
73{

Callers

nothing calls this directly

Calls 2

allocMemoryMethod · 0.80

Tested by

no test coverage detected