summaryrefslogtreecommitdiff
path: root/android/bluetooth.c
diff options
context:
space:
mode:
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>2014-12-17 16:49:00 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-12-19 09:44:48 -0200
commit0f7aa56363fd02ff32dc850973f63cf747dcc619 (patch)
treee3f79fe2300f21aab47821dc1ad44f5f5be18bfe /android/bluetooth.c
parent8e8d7266943fd33e70ba11d316a7fbcd5e7bf833 (diff)
downloadbluez-0f7aa56363fd02ff32dc850973f63cf747dcc619.tar.gz
android/bluetooth: Minor fix, add missing NULL assignment
Diffstat (limited to 'android/bluetooth.c')
-rw-r--r--android/bluetooth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/bluetooth.c b/android/bluetooth.c
index c3f5203e1..5a4f13617 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
@@ -5348,6 +5348,8 @@ bool bt_bluetooth_register(struct ipc *ipc, uint8_t mode)
failed:
queue_destroy(unpaired_cb_list, NULL);
+ unpaired_cb_list = NULL;
+
return false;
}