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

Function getCurrentMallocAllocator

src/CppUTest/TestMemoryAllocator.cpp:94–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94TestMemoryAllocator* getCurrentMallocAllocator()
95{
96 if (currentMallocAllocator == NULLPTR) setCurrentMallocAllocatorToDefault();
97 return currentMallocAllocator;
98}
99
100void setCurrentMallocAllocatorToDefault()
101{

Callers 15

threadsafe_mem_leak_freeFunction · 0.85
mem_leak_mallocFunction · 0.85
mem_leak_freeFunction · 0.85
mem_leak_reallocFunction · 0.85
saveMethod · 0.85
startMethod · 0.85
stopMethod · 0.85

Calls 1

Tested by

no test coverage detected