via-ide: use qdev gpio rather than qemu_allocate_irqs()
commit627a445ae0f0942a4cb95097204c7879722ce263
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 24 Mar 2020 21:05:18 +0000 (24 21:05 +0000)
committerJohn Snow <jsnow@redhat.com>
Fri, 27 Mar 2020 18:30:08 +0000 (27 14:30 -0400)
treedba9a59f998821fe88744cf2bf220d415cb9f9da
parentb93858756982ec76a36d4140765efad5ce0fbd5f
via-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-3-mark.cave-ayland@ilande.co.uk
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/via.c