Files
linux/net/bluetooth
Navid Emamdoost bec8508535 Bluetooth: Fix memory leak in hci_connect_le_scan
commit d088337c38 upstream.

In the implementation of hci_connect_le_scan() when conn is added via
hci_conn_add(), if hci_explicit_conn_params_set() fails the allocated
memory for conn is leaked. Use hci_conn_del() to release it.

Fixes: f75113a260 ("Bluetooth: add hci_connect_le_scan")
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 16:30:47 +09:00
..
2023-05-15 12:40:01 +09:00
2015-07-30 13:31:59 +02:00
2018-03-22 09:54:47 +01:00
2015-07-30 13:31:59 +02:00
2023-05-15 16:30:45 +09:00
2023-05-15 09:11:48 +09:00
2023-05-15 09:11:48 +09:00