[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH-for-8.2 0/6] hw: Free DEFINE_PROP_ARRAY()'s arrays in instance_fi
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH-for-8.2 0/6] hw: Free DEFINE_PROP_ARRAY()'s arrays in instance_finalize() |
Date: |
Tue, 21 Nov 2023 18:40:45 +0100 |
In few places we forget to free the array allocated by the
DEFINE_PROP_ARRAY() macro handlers. Fix that.
Philippe Mathieu-Daudé (6):
hw/virtio: Add VirtioPCIDeviceTypeInfo::instance_finalize field
hw/virtio: Free VirtIOIOMMUPCI::vdev.reserved_regions[] on finalize()
hw/misc/mps2-scc: Free MPS2SCC::oscclk[] array on finalize()
hw/nvram/xlnx-efuse: Free XlnxEFuse::ro_bits[] array on finalize()
hw/nvram/xlnx-efuse-ctrl: Free XlnxVersalEFuseCtrl[] "pg0-lock" array
hw/input/stellaris_gamepad: Free StellarisGamepad::keycodes[] array
include/hw/virtio/virtio-pci.h | 1 +
hw/input/stellaris_gamepad.c | 8 ++++++++
hw/misc/mps2-scc.c | 8 ++++++++
hw/nvram/xlnx-efuse.c | 8 ++++++++
hw/nvram/xlnx-versal-efuse-ctrl.c | 8 ++++++++
hw/virtio/virtio-iommu-pci.c | 8 ++++++++
hw/virtio/virtio-pci.c | 1 +
7 files changed, 42 insertions(+)
--
2.41.0
- [PATCH-for-8.2 0/6] hw: Free DEFINE_PROP_ARRAY()'s arrays in instance_finalize(),
Philippe Mathieu-Daudé <=
- [PATCH-for-8.2? 1/6] hw/virtio: Add VirtioPCIDeviceTypeInfo::instance_finalize field, Philippe Mathieu-Daudé, 2023/11/21
- [PATCH-for-8.2? 2/6] hw/virtio: Free VirtIOIOMMUPCI::vdev.reserved_regions[] on finalize(), Philippe Mathieu-Daudé, 2023/11/21
- [PATCH-for-8.2? 3/6] hw/misc/mps2-scc: Free MPS2SCC::oscclk[] array on finalize(), Philippe Mathieu-Daudé, 2023/11/21
- [PATCH-for-8.2? 5/6] hw/nvram/xlnx-efuse-ctrl: Free XlnxVersalEFuseCtrl[] "pg0-lock" array, Philippe Mathieu-Daudé, 2023/11/21
- [PATCH-for-8.2 6/6] hw/input/stellaris_gamepad: Free StellarisGamepad::keycodes[] array, Philippe Mathieu-Daudé, 2023/11/21
- [PATCH-for-8.2? 4/6] hw/nvram/xlnx-efuse: Free XlnxEFuse::ro_bits[] array on finalize(), Philippe Mathieu-Daudé, 2023/11/21
- Re: [PATCH-for-8.2 0/6] hw: Free DEFINE_PROP_ARRAY()'s arrays in instance_finalize(), Peter Maydell, 2023/11/27