commit | 02ac44c993d05f57d7f8769d22f317e6c7385f55 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Tue Nov 13 16:18:58 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Nov 13 16:18:58 2018 +0000 |
tree | 61720a43f029d6a05c91c42dfda17682a67da55f | |
parent | 34ffa7e074c8c14e6a2fc0f8564d1db76ba27eb9 [diff] | |
parent | 5f93072db3cfaa68b396b93baea38b02c518ef0f [diff] |
Merge "logd: fix memory leak due to slow reader"
diff --git a/logd/LogTimes.cpp b/logd/LogTimes.cpp index 1715501..208d67f 100644 --- a/logd/LogTimes.cpp +++ b/logd/LogTimes.cpp
@@ -204,6 +204,10 @@ goto skip; } + if (me->mRelease) { + goto stop; + } + if (!me->mTail) { goto ok; }