Navid Emamdoost d088337c38 Bluetooth: Fix memory leak in hci_connect_le_scan
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: f75113a26008 ("Bluetooth: add hci_connect_le_scan")
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2019-11-22 10:42:53 +01:00
..
2019-10-24 14:53:48 -07:00
2019-07-26 14:58:12 +10:00
2019-11-19 09:16:33 +01:00
2017-09-01 22:49:47 +02:00
2019-04-19 14:07:40 -07:00
2018-09-26 12:39:32 +03:00