| 70 | } |
| 71 | |
| 72 | static void mem_leak_free(void* buffer, const char* file, size_t line) |
| 73 | { |
| 74 | MemoryLeakWarningPlugin::getGlobalDetector()->invalidateMemory((char*) buffer); |
| 75 | MemoryLeakWarningPlugin::getGlobalDetector()->deallocMemory(getCurrentMallocAllocator(), (char*) buffer, file, line, true); |
| 76 | } |
| 77 | |
| 78 | static void* mem_leak_realloc(void* memory, size_t size, const char* file, size_t line) |
| 79 | { |
nothing calls this directly
no test coverage detected