ide: fix leak from qemu_allocate_irqs
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Oct 2019 13:36:21 +0000 (15:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Oct 2019 16:49:16 +0000 (18:49 +0200)
commitf5f72e8f31f22ba5ee43db5cb9481206fc661f76
treee846bc365970aa785830a26b521cb39696815927
parentc0ff379514347b1656c366ff2e878c041048231b
ide: 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/ide/cmd646.c