From 44bebaf5962f0b0a60b66ec8ab65f1d211b60b9d Mon Sep 17 00:00:00 2001 From: Alok Barsode Date: Mon, 1 Sep 2008 14:25:49 +0530 Subject: Freeing oor_devices list after device discovery. --- src/dbus-hci.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/dbus-hci.c') diff --git a/src/dbus-hci.c b/src/dbus-hci.c index e67cb64c..69bafa4f 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -883,11 +883,6 @@ void hcid_dbus_periodic_inquiry_exit(bdaddr_t *local, uint8_t status) state = adapter_get_state(adapter); state &= ~PERIODIC_INQUIRY; adapter_set_state(adapter, state); - - /* free out of range devices list */ - g_slist_foreach(adapter->oor_devices, (GFunc) free, NULL); - g_slist_free(adapter->oor_devices); - adapter->oor_devices = NULL; } static char *extract_eir_name(uint8_t *data, uint8_t *type) -- cgit