commit | cad5b12437ba269430a8ede3070199dc04d81626 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Sat Feb 20 22:42:27 2021 -0800 |
committer | George Burgess IV <gbiv@google.com> | Sun Feb 21 15:20:18 2021 -0800 |
tree | 6de708d94f79c27bb0cd8b7d7bbd52f7ca7ed659 | |
parent | 84a668248fa62ce5939ccb5bf4ecccabaa871b49 [diff] |
verityutils: fix a memory leak `d` is never freed here. use a unique_ptr to ensure that happens in the future. caught by the static analyzer: > system/security/ondevice-signing/VerityUtils.cpp:88:26: warning: Potential leak of memory pointed to by 'd' [clang-analyzer-unix.Malloc] Bug: None Test: TreeHugger Change-Id: I0158eae424a024046089d86fe3c1f38efbfa9a2b