From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUxbQ-0000QG-1k for qemu-devel@nongnu.org; Wed, 03 Aug 2016 10:57:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUxbO-0001au-A4 for qemu-devel@nongnu.org; Wed, 03 Aug 2016 10:56:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUxbO-0001ab-4C for qemu-devel@nongnu.org; Wed, 03 Aug 2016 10:56:58 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5B56785546 for ; Wed, 3 Aug 2016 14:56:57 +0000 (UTC) From: marcandre.lureau@redhat.com Date: Wed, 3 Aug 2016 18:55:27 +0400 Message-Id: <20160803145541.15355-23-marcandre.lureau@redhat.com> In-Reply-To: <20160803145541.15355-1-marcandre.lureau@redhat.com> References: <20160803145541.15355-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH for-2.7 v3 22/36] pc: free i8259 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, eblake@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= From: Marc-Andr=C3=A9 Lureau Simiarly to 2ba154cf4eb8636cdd3aa90f392ca9e77206ca39 Signed-off-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Marcel Apfelbaum --- hw/i386/pc_q35.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index c0b9961..c5e8367 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -213,6 +213,8 @@ static void pc_q35_init(MachineState *machine) for (i =3D 0; i < ISA_NUM_IRQS; i++) { gsi_state->i8259_irq[i] =3D i8259[i]; } + g_free(i8259); + if (pcmc->pci_enabled) { ioapic_init_gsi(gsi_state, "q35"); } --=20 2.9.0