Merge "logd: fix memory leak due to slow reader"

This commit is contained in:
Tom Cherry 2018-11-13 16:18:58 +00:00 committed by Gerrit Code Review
commit 02ac44c993
1 changed files with 4 additions and 0 deletions

View File

@ -204,6 +204,10 @@ int LogTimeEntry::FilterSecondPass(const LogBufferElement* element, void* obj) {
goto skip;
}
if (me->mRelease) {
goto stop;
}
if (!me->mTail) {
goto ok;
}