commit | f45dbeca3a3e9a093ef86ac0811cf88a13f85373 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Jan 29 16:21:31 2016 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Feb 02 13:55:42 2016 -0800 |
tree | 446dd85365fb7947247c4bf356d5db6cce8c12ee | |
parent | 86015ddbf276578880afbc7cf0cb53c58c23c532 [diff] |
liblog: remove strdup from logging calls strdup to a static pointer is unnecessary, strlcpy into a static buffer instead. Avoids allocations in the ALOG* path, allowing liblog to be used by libmemleak. Change-Id: Ie0986da27c1fc5eb8ce4ebb076b513be8e1ee676