diff options
author | Luo Ji <ji.luo@nxp.com> | 2019-03-07 18:56:50 +0800 |
---|---|---|
committer | Luo Ji <ji.luo@nxp.com> | 2019-03-12 14:46:35 +0800 |
commit | 6c5a2fc34ba08eb4c990ee9044fc1dfd9ecbd04f (patch) | |
tree | b1eea1d9b7d4a87c0ab2e5a6133f0c35b5e305c5 /include/configs/imx8qm_mek_android_auto_xen.h | |
parent | eaab8f8e07d222b1c13e995352e99b8e4f9fe5fb (diff) |
MA-14280 [coverity] Fix resource leak in libavb
Fix resource leak in libavb, coverity issue:
CID 5899691: Resource leak (RESOURCE_LEAK) leaked_storage: Variable
hash_out going out of scope leaks the storage it points to.
CID 5899689: Resource leak (RESOURCE_LEAK) leaked_storage: Variable
hash_buf going out of scope leaks the storage it points to.
CID 5899688: Uninitialized pointer read (UNINIT) uninit_use: Using
uninitialized value digest.
CID 5899692: Structurally dead code (UNREACHABLE) unreachable: This
code cannot be reached: goto out;
Test: Coverity scan pass.
Change-Id: If8e26fdd383c32a9160775006621830b42c0f07e
Signed-off-by: Luo Ji <ji.luo@nxp.com>
Diffstat (limited to 'include/configs/imx8qm_mek_android_auto_xen.h')
0 files changed, 0 insertions, 0 deletions