aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-rtl-pass.h
diff options
context:
space:
mode:
authorNavid Emamdoost <[email protected]>2019-11-21 14:20:36 -0600
committerMarcel Holtmann <[email protected]>2019-11-22 10:42:53 +0100
commitd088337c38a5cd8f0230fbf2d514ff7672f9d0d3 (patch)
treeea3b7f9b0c741779543d39c631b1f160ad0a298d /scripts/gcc-plugins/gcc-generate-rtl-pass.h
parent7fdf6c6a0d0e032aac2aa4537a23af1e04a397ce (diff)
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 <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions