Index: src/platform-macos.cc |
diff --git a/src/platform-macos.cc b/src/platform-macos.cc |
index b2d92d54ba8de189255d030a27f42563fd06a803..6135cd13740f03bb15f62ddfb26e4c80ae83bea8 100644 |
--- a/src/platform-macos.cc |
+++ b/src/platform-macos.cc |
@@ -443,7 +443,7 @@ void OS::SetUp() { |
// Seed the random number generator. We preserve microsecond resolution. |
uint64_t seed = Ticks() ^ (getpid() << 16); |
srandom(static_cast<unsigned int>(seed)); |
- limit_mutex = new Mutex; |
+ limit_mutex = CreateMutex(); |
} |