summaryrefslogtreecommitdiff
path: root/src/logging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging.cc')
-rw-r--r--src/logging.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logging.cc b/src/logging.cc
index 5543e3a..8936fe3 100644
--- a/src/logging.cc
+++ b/src/logging.cc
@@ -817,6 +817,8 @@ void LogDestination::DeleteLogDestinations() {
delete log_destinations_[severity];
log_destinations_[severity] = NULL;
}
+ MutexLock l(&sink_mutex_);
+ delete sinks_;
}
namespace {