Commit: 35cbfd9660949fca23418bfa32fd51d81ed91208
Parent: 4334be027ae1ad50193025c90e77a76b64464b53
Author: Gopal Tiwari <gtiwari@redhat.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-05-31 22:52:28
Tree: 986a20e756dc710745af2ba9d2a10f4a18ea185b

mesh/mesh-db: Fix resource leaks While performing static tool analysis using coverity found following reports for resouse leak bluez-5.64/tools/mesh/mesh-db.c:2388: leaked_handle: Handle variable "fd" going out of scope leaks the handle. bluez-5.64/tools/mesh/mesh-db.c:2388: leaked_storage: Variable "str" going out of scope leaks the storage it points to.

Diffstat

M tools/mesh/mesh-db.c | 2 ++

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

View Full Diff | Patch