| 31 | #include "CppUTest/MemoryLeakDetector.h" |
| 32 | |
| 33 | static char* checkedMalloc(size_t size) |
| 34 | { |
| 35 | char* mem = (char*) PlatformSpecificMalloc(size); |
| 36 | if (mem == NULLPTR) |
| 37 | FAIL("malloc returned null pointer"); |
| 38 | return mem; |
| 39 | } |
| 40 | |
| 41 | static TestMemoryAllocator* currentNewAllocator = NULLPTR; |
| 42 | static TestMemoryAllocator* currentNewArrayAllocator = NULLPTR; |
no test coverage detected