* [Qemu-devel] [5536] Change freeing method because the allocation function was changed in r5532
@ 2008-10-25 13:49 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-10-25 13:49 UTC (permalink / raw)
To: qemu-devel
Revision: 5536
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5536
Author: blueswir1
Date: 2008-10-25 13:48:59 +0000 (Sat, 25 Oct 2008)
Log Message:
-----------
Change freeing method because the allocation function was changed in r5532
Modified Paths:
--------------
trunk/hw/bt-hci.c
Modified: trunk/hw/bt-hci.c
===================================================================
--- trunk/hw/bt-hci.c 2008-10-25 11:47:20 UTC (rev 5535)
+++ trunk/hw/bt-hci.c 2008-10-25 13:48:59 UTC (rev 5536)
@@ -1135,7 +1135,7 @@
hci->device.inquiry_scan = 0;
hci->device.page_scan = 0;
if (hci->device.lmp_name)
- free((void *) hci->device.lmp_name);
+ qemu_free((void *) hci->device.lmp_name);
hci->device.lmp_name = 0;
hci->device.class[0] = 0x00;
hci->device.class[1] = 0x00;
@@ -1813,7 +1813,7 @@
LENGTH_CHECK(change_local_name);
if (hci->device.lmp_name)
- free((void *) hci->device.lmp_name);
+ qemu_free((void *) hci->device.lmp_name);
hci->device.lmp_name = pstrdup(PARAM(change_local_name, name),
sizeof(PARAM(change_local_name, name)));
bt_hci_event_complete_status(hci, HCI_SUCCESS);
@@ -2189,7 +2189,7 @@
bt_device_done(&hci->device);
if (hci->device.lmp_name)
- free((void *) hci->device.lmp_name);
+ qemu_free((void *) hci->device.lmp_name);
/* Be gentle and send DISCONNECT to all connected peers and those
* currently waiting for us to accept or reject a connection request.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-25 13:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-25 13:49 [Qemu-devel] [5536] Change freeing method because the allocation function was changed in r5532 Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).