diff options
author | Greg Hackmann <ghackmann@google.com> | 2014-04-07 23:18:58 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-04-07 23:18:58 +0000 |
commit | 9101878dd06a74cedeadca3fec3b3db68cba8bf0 (patch) | |
tree | 3ecf48be64ee1bd876a58531c7c7b1978bc9f9d9 /logd/LogStatistics.cpp | |
parent | 47d374ec27af7bc431a86a592822fbb15ff6ba3c (diff) | |
parent | 239605ef64d34ced82c97870e3f3f5c4145be58c (diff) | |
download | core-9101878dd06a74cedeadca3fec3b3db68cba8bf0.tar.gz core-9101878dd06a74cedeadca3fec3b3db68cba8bf0.tar.bz2 core-9101878dd06a74cedeadca3fec3b3db68cba8bf0.zip |
Merge "logd: fix LogStatistics::format freeing wrong pointer"
Diffstat (limited to 'logd/LogStatistics.cpp')
-rw-r--r-- | logd/LogStatistics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp index 82a3a904b..fc6e6b264 100644 --- a/logd/LogStatistics.cpp +++ b/logd/LogStatistics.cpp @@ -446,7 +446,7 @@ void LogStatistics::format(char **buf, static const unsigned short spaces_total = 19; if (*buf) { - free(buf); + free(*buf); *buf = NULL; } |