diff options
author | Johan Hedberg <[email protected]> | 2014-12-11 21:45:44 +0200 |
---|---|---|
committer | Marcel Holtmann <[email protected]> | 2014-12-11 20:57:38 +0100 |
commit | 15013aeb63fb4df7ff809d63246c8398e9703736 (patch) | |
tree | 82efe1e90f240ab487d845eeeeeea06c443bb627 /lib/memory-notifier-error-inject.c | |
parent | 417287de88bfbb724bab2f50782395d2606b28e1 (diff) |
Bluetooth: Fix calling hci_conn_put too early
The pairing_complete() function relies on a hci_conn reference to be
able to access the hci_conn object. It should therefore only release
this reference once it's done accessing the object, i.e. at the end of
the function.
Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions