OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f6eab3
)
Fix qemu_free use in bt-l2cap.c
author
Jean-Christophe DUBOIS
<jcd@tribudubois.net>
Sun, 15 Nov 2009 18:18:16 +0000
(19:18 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Wed, 2 Dec 2009 14:57:42 +0000
(08:57 -0600)
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>
hw/bt-l2cap.c
patch
|
blob
|
history
diff --git
a/hw/bt-l2cap.c
b/hw/bt-l2cap.c
index
4697f52
..
70d731e
100644
(file)
--- 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)