* commit '679e2c252274a7072c65471d6799a962261e1883': logd: fix LogStatistics::format freeing wrong pointer
This commit is contained in:
commit
7b6a8cbae9
1 changed files with 1 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ void LogStatistics::format(char **buf,
|
|||
static const unsigned short spaces_total = 19;
|
||||
|
||||
if (*buf) {
|
||||
free(buf);
|
||||
free(*buf);
|
||||
*buf = NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue