Index: src/sampler.cc |
diff --git a/src/sampler.cc b/src/sampler.cc |
index 413b6be9060daa43c41bb6e41414ef419d1a299b..29fe27fd35866ffe62e26105fadbe728bfdc7666 100644 |
--- a/src/sampler.cc |
+++ b/src/sampler.cc |
@@ -276,7 +276,7 @@ class SimulatorHelper { |
class SignalHandler : public AllStatic { |
public: |
static void SetUp() { if (!mutex_) mutex_ = new base::Mutex(); } |
- static void TearDown() { delete mutex_; } |
+ static void TearDown() { delete mutex_; mutex_ = NULL; } |
static void IncreaseSamplerCount() { |
base::LockGuard<base::Mutex> lock_guard(mutex_); |