Merge "logd: fix memory leak due to slow reader"
This commit is contained in:
commit
02ac44c993
|
@ -204,6 +204,10 @@ int LogTimeEntry::FilterSecondPass(const LogBufferElement* element, void* obj) {
|
||||||
goto skip;
|
goto skip;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (me->mRelease) {
|
||||||
|
goto stop;
|
||||||
|
}
|
||||||
|
|
||||||
if (!me->mTail) {
|
if (!me->mTail) {
|
||||||
goto ok;
|
goto ok;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue