commit | 679e2c252274a7072c65471d6799a962261e1883 | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Mon Apr 07 23:25:55 2014 +0000 |
committer | Android Git Automerger <android-git-automerger@android.com> | Mon Apr 07 23:25:55 2014 +0000 |
tree | 970b3fd6866f8d0f2d04d6806f2b6f4b2e3b1a08 | |
parent | 1a09a804ba0c96182e8193cb5e96090893ad9a7c [diff] | |
parent | 9101878dd06a74cedeadca3fec3b3db68cba8bf0 [diff] |
am 9101878d: Merge "logd: fix LogStatistics::format freeing wrong pointer" * commit '9101878dd06a74cedeadca3fec3b3db68cba8bf0': 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; }