summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-adapter.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-08-16 18:43:50 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-08-16 18:43:50 +0000
commit58887f9452b222cfb28bf8c5c11d13bd5de95efb (patch)
tree9c66cd441aad2ece4f7678b09280a3f889455c08 /hcid/dbus-adapter.c
parent2ed4044afd72c32e9e689d1f3ca953d4baff815e (diff)
code cleanup:using libc free
Diffstat (limited to 'hcid/dbus-adapter.c')
-rw-r--r--hcid/dbus-adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c
index 02cc85c9..4b1b0a63 100644
--- a/hcid/dbus-adapter.c
+++ b/hcid/dbus-adapter.c
@@ -2241,7 +2241,7 @@ static DBusHandlerResult handle_dev_cancel_discovery_req(DBusConnection *conn, D
return error_failed(conn, msg, bt_error(status));
}
- slist_foreach(dbus_data->disc_devices, disc_device_info_free, NULL);
+ slist_foreach(dbus_data->disc_devices, (slist_func_t)free, NULL);
slist_free(dbus_data->disc_devices);
dbus_data->disc_devices = NULL;