commit | 69e4110b7a247ba9a58a55fb6f9525d73f5652f8 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Wed Mar 10 10:35:38 2021 -0800 |
committer | George Burgess IV <gbiv@google.com> | Wed Mar 10 11:02:41 2021 -0800 |
tree | 492d24d2505ec33c5521aff0a48cb302245e0cb3 | |
parent | df8cab07c156733700017ee3f12bf74d713241bc [diff] |
verityutils: fix a memory leak this CL fixes a leak of malloc'ed memory, and introduces a tool that makes malloc'ing this memory going forward a bit easier. caught by the static analyzer: > system/security/ondevice-signing/VerityUtils.cpp:189:71: warning: Potential leak of memory pointed to by 'd' [clang-analyzer-unix.Malloc] Bug: None Test: TreeHugger Change-Id: I8fe9dc047af729b0f5730ec1844b3902225fa73e