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

Function _testTwoLeaks

tests/CppUTest/MemoryLeakWarningTest.cpp:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100};
101
102static void _testTwoLeaks()
103{
104 leak1 = detector->allocMemory(allocator, 10);
105 leak2 = (long*) (void*) detector->allocMemory(allocator, 4);
106}
107
108#if CPPUTEST_USE_MEM_LEAK_DETECTION
109

Callers

nothing calls this directly

Calls 1

allocMemoryMethod · 0.80

Tested by

no test coverage detected