Commit: 5eb96b3ec8545047a74d7204664267c7aa749070
Parent: b4233bca181580800b483a228ca5377efcfeb844
Author: Gopal Tiwari <gtiwari@redhat.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-05-31 22:49:29
Tree: acfd3f207eb4b8f568cf06fceb180500062004b9

mesh/appkey: Fix memory leaks While performing the static analysis using the coverity tool found following memory leak reports bluez-5.64/mesh/appkey.c:143: leaked_storage: Variable "key" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK (CWE-772): bluez-5.64/mesh/appkey.c:146: leaked_storage: Variable "key" going out of scope leaks the storage it points to.

Diffstat

M mesh/appkey.c | 8 ++++++- -

1 files changed, 6 insertions(+), 2 deletions(-)

View Full Diff | Patch