commit | 2104c41f9615cad7df4200d30dfeb37c768d64db | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Sun Apr 06 21:25:58 2014 -0700 |
committer | Greg Hackmann <ghackmann@google.com> | Mon Apr 07 15:17:30 2014 -0700 |
tree | 0b03a18fb25430e5f6a8ac33e6f44da4906c0c88 | |
parent | 40babd53b50b1eae7e950b6397ac4860ff0f3b70 [diff] |
logd: fix LogStatistics::format freeing wrong pointer Fixes a leak and use-after-free if a client passes in an already-allocated target buffer (currently none do) Change-Id: Ie20c30bd5ba31e1b6db73885bd9d2ebd7e40dc27 Signed-off-by: Greg Hackmann <ghackmann@google.com>