Parent: 6f02010ce0043ec2e17eb15f2a1dd42f6c64e223
Author: Gopal Tiwari <gtiwari@redhat.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-05-31 22:50:38
Tree: 6559d863cc94ba9af98b5b1aab78e98d51d0bb51
sixaxis: Fix memory leaks While performing static tool analysis using coverity found following reports for resouse leak bluez-5.64/plugins/sixaxis.c:425: alloc_arg: "get_pairing_type_for_device" allocates memory that is stored into "sysfs_path". bluez-5.64/plugins/sixaxis.c:428: leaked_storage: Variable "sysfs_path" going out of scope leaks the storage it points to.
Diffstat
| M | plugins/sixaxis.c | | | 9 | +++++++- - |
1 files changed, 7 insertions(+), 2 deletions(-)