projects
/
platform
/
upstream
/
glog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
ff5fa62
)
Merge pull request #123 from yying/master
author
Fumitoshi Ukai
<fumitoshi.ukai@gmail.com>
Wed, 19 Oct 2016 07:10:39 +0000
(16:10 +0900)
committer
GitHub
<noreply@github.com>
Wed, 19 Oct 2016 07:10:39 +0000
(16:10 +0900)
Set sinks_ to NULL after deletion in LogDestination::DeleteLogDestinations
src/logging.cc
patch
|
blob
|
history
diff --git
a/src/logging.cc
b/src/logging.cc
index
ec9eef1
..
0b5e6ee
100644
(file)
--- a/
src/logging.cc
+++ b/
src/logging.cc
@@
-825,6
+825,7
@@
void LogDestination::DeleteLogDestinations() {
}
MutexLock l(&sink_mutex_);
delete sinks_;
+ sinks_ = NULL;
}
namespace {