Index: src/platform-cygwin.cc |
diff --git a/src/platform-cygwin.cc b/src/platform-cygwin.cc |
index f6412ae69c64f92ad922933a047343d690f2627d..4c7b01759231c74f8167773401e55a482e9923a5 100644 |
--- a/src/platform-cygwin.cc |
+++ b/src/platform-cygwin.cc |
@@ -471,7 +471,7 @@ void OS::SetUp() { |
// call this setup code within the same millisecond. |
uint64_t seed = static_cast<uint64_t>(TimeCurrentMillis()); |
srandom(static_cast<unsigned int>(seed)); |
- limit_mutex = new Mutex; |
+ limit_mutex = CreateMutex(); |
} |