cmd646-ide: use qdev gpio rather than qemu_allocate_irqs()
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 24 Mar 2020 21:05:19 +0000 (21:05 +0000)
committerJohn Snow <jsnow@redhat.com>
Fri, 27 Mar 2020 18:30:08 +0000 (14:30 -0400)
commitcbf4c9ac9c000f7caf1bfee031041b62d2b000c8
treee6969b086cf8c7b58056c6dc694e8c4c79e6d74a
parent627a445ae0f0942a4cb95097204c7879722ce263
cmd646-ide: use qdev gpio rather than qemu_allocate_irqs()

This prevents the memory from qemu_allocate_irqs() from being leaked which
can in some cases be spotted by Coverity (CID 1421984).

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-id: 20200324210519.2974-4-mark.cave-ayland@ilande.co.uk
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/cmd646.c