| 137 | #endif |
| 138 | |
| 139 | static void* threadsafe_mem_leak_operator_new (size_t size) UT_THROW(std::bad_alloc) |
| 140 | { |
| 141 | MemLeakScopedMutex lock; |
| 142 | void* memory = MemoryLeakWarningPlugin::getGlobalDetector()->allocMemory(getCurrentNewAllocator(), size); |
| 143 | UT_THROW_BAD_ALLOC_WHEN_NULL(memory); |
| 144 | return memory; |
| 145 | } |
| 146 | |
| 147 | static void* threadsafe_mem_leak_operator_new_nothrow (size_t size) UT_NOTHROW |
| 148 | { |
no test coverage detected