Merge "logd: fix LogStatistics::format freeing wrong pointer"
This commit is contained in:
commit
9101878dd0
|
@ -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…
Reference in New Issue