Index: src/platform-solaris.cc |
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc |
index fcd69deb4202afde8da873943de70ae8d97098cf..ff5d83b6603d9b8d1597d504e884f23ef065a4d0 100644 |
--- a/src/platform-solaris.cc |
+++ b/src/platform-solaris.cc |
@@ -605,7 +605,8 @@ Sampler::Sampler(int interval, bool profiling) |
: interval_(interval), |
profiling_(profiling), |
synchronous_(profiling), |
- active_(false) { |
+ active_(false), |
+ samples_taken_(0) { |
data_ = new PlatformData(); |
} |