diff options
-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 5622ee5b1..88414d970 100644 --- a/logd/LogStatistics.cpp +++ b/logd/LogStatistics.cpp @@ -401,7 +401,7 @@ void LogStatistics::format(char **buf, const unsigned short spaces_total = 19; if (*buf) { - free(buf); + free(*buf); *buf = NULL; } |