commit | 7b6a8cbae956de544f01c43ec0814130aea1f846 | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Mon Apr 07 23:32:00 2014 +0000 |
committer | Android Git Automerger <android-git-automerger@android.com> | Mon Apr 07 23:32:00 2014 +0000 |
tree | 950fb9b9509893f058a435bb2abe4b79190525dd | |
parent | 8f2a205f34bfad9eddbd62a073d1ca492276d538 [diff] | |
parent | 679e2c252274a7072c65471d6799a962261e1883 [diff] |
am 679e2c25: am 9101878d: Merge "logd: fix LogStatistics::format freeing wrong pointer" * commit '679e2c252274a7072c65471d6799a962261e1883': logd: fix LogStatistics::format freeing wrong pointer
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp index 82a3a90..fc6e6b2 100644 --- a/logd/LogStatistics.cpp +++ b/logd/LogStatistics.cpp
@@ -446,7 +446,7 @@ static const unsigned short spaces_total = 19; if (*buf) { - free(buf); + free(*buf); *buf = NULL; }