Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtjVm-0003RW-Fr for qemu-devel@nongnu.org; Sat, 25 Oct 2008 09:49:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtjVl-0003Qz-MC for qemu-devel@nongnu.org; Sat, 25 Oct 2008 09:49:02 -0400 Received: from [199.232.76.173] (port=40304 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtjVl-0003Qv-Ei for qemu-devel@nongnu.org; Sat, 25 Oct 2008 09:49:01 -0400 Received: from savannah.gnu.org ([199.232.41.3]:57321 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KtjVk-0001Oe-SD for qemu-devel@nongnu.org; Sat, 25 Oct 2008 09:49:01 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KtjVk-0005rb-6L for qemu-devel@nongnu.org; Sat, 25 Oct 2008 13:49:00 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KtjVj-0005rW-V2 for qemu-devel@nongnu.org; Sat, 25 Oct 2008 13:49:00 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sat, 25 Oct 2008 13:49:00 +0000 Subject: [Qemu-devel] [5536] Change freeing method because the allocation function was changed in r5532 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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.