summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJean-Christophe DUBOIS <jcd@tribudubois.net>2009-11-15 19:18:16 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-02 08:57:42 -0600
commiteb39f7bf9ad894cbfc008d527c0b8b9009a79df3 (patch)
treedf9cf29cae394e0445ff6a488224bb17d880e752 /hw
parent98959fa506cdd1c7039448a1b200482813f9d4f4 (diff)
downloadqemu-eb39f7bf9ad894cbfc008d527c0b8b9009a79df3.tar.gz
qemu-eb39f7bf9ad894cbfc008d527c0b8b9009a79df3.tar.bz2
qemu-eb39f7bf9ad894cbfc008d527c0b8b9009a79df3.zip
Fix qemu_free use in bt-l2cap.c
bt-l2cap.c is using free() instead of qemu_free(). Fix it. Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/bt-l2cap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bt-l2cap.c b/hw/bt-l2cap.c
index 4697f529dc..70d731e61b 100644
--- a/hw/bt-l2cap.c
+++ b/hw/bt-l2cap.c
@@ -1218,7 +1218,7 @@ static void l2cap_teardown(struct l2cap_instance_s *l2cap, int send_disconnect)
for (cid = L2CAP_CID_ALLOC; cid < L2CAP_CID_MAX; cid ++)
if (l2cap->cid[cid]) {
l2cap->cid[cid]->params.close(l2cap->cid[cid]->params.opaque);
- free(l2cap->cid[cid]);
+ qemu_free(l2cap->cid[cid]);
}
if (l2cap->role)