Commit 8db3ff0b authored by Fumitoshi Ukai's avatar Fumitoshi Ukai

Merge pull request #12 from ukai/fix_leak

delete LogDestination::sinks_ at DeleteLogDestinations(). 

fixes #8 
parents e91d5c4d ed072a55
......@@ -817,6 +817,8 @@ void LogDestination::DeleteLogDestinations() {
delete log_destinations_[severity];
log_destinations_[severity] = NULL;
}
MutexLock l(&sink_mutex_);
delete sinks_;
}
namespace {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment