summaryrefslogtreecommitdiffstats
path: root/hidd
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-08-06 06:42:20 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-08-06 06:42:20 +0000
commit7ba9b7fda144865222a5d254b36bf484d5af99e7 (patch)
treef0524211ba6906851a4d6a25e138ffa05f3df976 /hidd
parent3e6da0a081eef2c4498ee045b30392e39a92dc5a (diff)
Use bt_free() instead of free() for inquiry results
Diffstat (limited to 'hidd')
-rw-r--r--hidd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hidd/main.c b/hidd/main.c
index 98a8f12a..9ff02705 100644
--- a/hidd/main.c
+++ b/hidd/main.c
@@ -477,7 +477,7 @@ static void do_search(int ctl, bdaddr_t *bdaddr, uint8_t subclass, int nosdp, in
}
}
- free(info);
+ bt_free(info);
if (!num_rsp) {
fprintf(stderr, "\tNo devices in range or visible\n");