summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFumitoshi Ukai <ukai@google.com>2015-04-10 15:05:05 (GMT)
committerFumitoshi Ukai <ukai@google.com>2015-04-10 15:05:05 (GMT)
commited072a55b885a2b7fe765492aabe3b502c851d72 (patch)
treec714c8cfa17bfa5a71dc58f44945f13852f18e3a /src
parent9c2acaaa49078dcfed146bea2536ad33e10372e8 (diff)
downloadglog-ed072a55b885a2b7fe765492aabe3b502c851d72.zip
glog-ed072a55b885a2b7fe765492aabe3b502c851d72.tar.gz
glog-ed072a55b885a2b7fe765492aabe3b502c851d72.tar.bz2
don't remove sinks_ elements.
Diffstat (limited to 'src')
-rw-r--r--src/logging.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/logging.cc b/src/logging.cc
index 091b0db..8936fe3 100644
--- a/src/logging.cc
+++ b/src/logging.cc
@@ -818,9 +818,6 @@ void LogDestination::DeleteLogDestinations() {
log_destinations_[severity] = NULL;
}
MutexLock l(&sink_mutex_);
- for (size_t i = 0; i < sinks_->size(); ++i) {
- delete (*sinks_)[i];
- }
delete sinks_;
}