Received: from eggs.gnu.org ([2001:4830:134:3::10]:56284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSjnD-0006jY-D7 for qemu-devel@nongnu.org; Thu, 28 Jul 2016 07:48:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSjnA-0007UK-Nb for qemu-devel@nongnu.org; Thu, 28 Jul 2016 07:47:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSjnA-0007UE-Hq for qemu-devel@nongnu.org; Thu, 28 Jul 2016 07:47:56 -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 7BA73144181 for ; Thu, 28 Jul 2016 11:47:55 +0000 (UTC) References: <20160719085432.4572-1-marcandre.lureau@redhat.com> <20160719085432.4572-23-marcandre.lureau@redhat.com> From: Marcel Apfelbaum Message-ID: <67b5f2c2-a7d1-e953-8737-3c16d9addede@redhat.com> Date: Thu, 28 Jul 2016 14:47:53 +0300 MIME-Version: 1.0 In-Reply-To: <20160719085432.4572-23-marcandre.lureau@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 22/37] pc: free i8259 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: marcandre.lureau@redhat.com, qemu-devel@nongnu.org On 07/19/2016 11:54 AM, marcandre.lureau@redhat.com wrote: > From: Marc-Andr=C3=A9 Lureau > > Simiarly to 2ba154cf4eb8636cdd3aa90f392ca9e77206ca39 > > Signed-off-by: Marc-Andr=C3=A9 Lureau > --- > 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"); > } > Hi, It seems my previous reply didn't make it to the mailing list. Reviewed-by: Marcel Apfelbaum Thanks, Marcel