Index: src/platform-solaris.cc |
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc |
index 654d98b310c08071dc7e6e48ff65cd66b4aa391d..b1d88af2939de69b8a4fc31a18786318a24af346 100644 |
--- a/src/platform-solaris.cc |
+++ b/src/platform-solaris.cc |
@@ -479,7 +479,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(); |
} |