summaryrefslogtreecommitdiffstats
path: root/migration/multifd-zlib.c
diff options
context:
space:
mode:
authorPeter Maydell2020-03-23 16:17:15 +0100
committerJohn Snow2020-03-27 19:30:08 +0100
commitd6ef883d9d79f0f2f84df4c5e4d0d6c5eda79237 (patch)
tree4469ad7d67e411a3a7b6fa66b3c3452551a81bb6 /migration/multifd-zlib.c
parentfdc/i8257: implement verify transfer mode (diff)
downloadqemu-d6ef883d9d79f0f2f84df4c5e4d0d6c5eda79237.tar.gz
qemu-d6ef883d9d79f0f2f84df4c5e4d0d6c5eda79237.tar.xz
qemu-d6ef883d9d79f0f2f84df4c5e4d0d6c5eda79237.zip
hw/ide/sii3112: Use qdev gpio rather than qemu_allocate_irqs()
Coverity points out (CID 1421984) that we are leaking the memory returned by qemu_allocate_irqs(). We can avoid this leak by switching to using qdev_init_gpio_in(); the base class finalize will free the irqs that this allocates under the hood. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Tested-by: BALATON Zoltan <balaton@eik.bme.hu> Message-id: 20200323151715.29454-1-peter.maydell@linaro.org [Maintainer edit: replace `DEVICE(dev)` by `ds` --js] Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'migration/multifd-zlib.c')
0 files changed, 0 insertions, 0 deletions