commit | 9101878dd06a74cedeadca3fec3b3db68cba8bf0 | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Mon Apr 07 23:18:58 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Apr 07 23:18:58 2014 +0000 |
tree | 3ecf48be64ee1bd876a58531c7c7b1978bc9f9d9 | |
parent | 47d374ec27af7bc431a86a592822fbb15ff6ba3c [diff] | |
parent | 239605ef64d34ced82c97870e3f3f5c4145be58c [diff] |
Merge "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; }