mcf5208: fix leak from qemu_allocate_irqs
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Oct 2019 13:36:23 +0000 (15:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Oct 2019 16:49:16 +0000 (18:49 +0200)
commit67c1ea9940afd73ebc66987672617b6694ba1e4a
treea5b0369c77bf9889c4f9bb7a03981f7be62a5b49
parent100781a8cd61927d8442bd0b02dfc10c5bb89bcb
mcf5208: fix leak from qemu_allocate_irqs

The array returned by qemu_allocate_irqs is malloced, free it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
hw/m68k/mcf5208.c