| 51 | } |
| 52 | |
| 53 | static void threadsafe_mem_leak_free(void* buffer, const char* file, size_t line) |
| 54 | { |
| 55 | MemLeakScopedMutex lock; |
| 56 | MemoryLeakWarningPlugin::getGlobalDetector()->invalidateMemory((char*) buffer); |
| 57 | MemoryLeakWarningPlugin::getGlobalDetector()->deallocMemory(getCurrentMallocAllocator(), (char*) buffer, file, line, true); |
| 58 | } |
| 59 | |
| 60 | static void* threadsafe_mem_leak_realloc(void* memory, size_t size, const char* file, size_t line) |
| 61 | { |
nothing calls this directly
no test coverage detected