diff options
| author | George Burgess IV <gbiv@google.com> | 2018-10-03 14:10:00 -0700 |
|---|---|---|
| committer | George Burgess IV <gbiv@google.com> | 2018-10-03 21:20:21 +0000 |
| commit | 559387df56b5578a784943296a6f9e75a6bd2b64 (patch) | |
| tree | aed3a5cb77f4ba1e994ad0c617b060141c185c84 /trusty/coverage/coverage.cpp | |
| parent | e4ab668994f643032c03d46f6eccf9f40af90424 (diff) | |
liblog: Fix memory leaks
If realloc returns NULL, the memory passed to it will remain allocated.
That doesn't appear to be intended here.
Caught by our static analyzer.
Bug: None
Test: Ran the static analyzer.
Change-Id: I579bee6827146d404fc6f6b86074366aefbda63f
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions
