am 7b6a8cba: am 679e2c25: am 9101878d: Merge "logd: fix LogStatistics::format freeing wrong pointer"

* commit '7b6a8cbae956de544f01c43ec0814130aea1f846':
  logd: fix LogStatistics::format freeing wrong pointer
This commit is contained in:
Greg Hackmann 2014-04-07 23:37:57 +00:00 committed by Android Git Automerger
commit 2be33e08e9

View file

@ -446,7 +446,7 @@ void LogStatistics::format(char **buf,
static const unsigned short spaces_total = 19;
if (*buf) {
free(buf);
free(*buf);
*buf = NULL;
}