commit | 7a106f7c1220fc749ca137675ac7b4c915418f47 | [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 | a9352202dd52a404199fbdca160d9d2d0992cf63 [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