commit | fc4f0b57b976a050671821a45b090017936b2d6e | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Wed Oct 03 14:10:00 2018 -0700 |
committer | George Burgess IV <gbiv@google.com> | Wed Oct 03 21:20:21 2018 +0000 |
tree | aed3a5cb77f4ba1e994ad0c617b060141c185c84 | |
parent | cbccaf6c17e1cd1d0bcd247e5d5ce9ebc868bc43 [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