qemu/hw
Philippe Mathieu-Daudé f5584a7d8d hw/nvram/xlnx-efuse-ctrl: Free XlnxVersalEFuseCtrl[] "pg0-lock" array
Commit 0be6bfac62 ("qdev: Implement variable length array properties")
added the DEFINE_PROP_ARRAY() macro with the following comment:

  * It is the responsibility of the device deinit code to free the
  * @_arrayfield memory.

Commit 9e4aa1fafe added:

  DEFINE_PROP_ARRAY("pg0-lock",
                    XlnxVersalEFuseCtrl, extra_pg0_lock_n16,
                    extra_pg0_lock_spec, qdev_prop_uint16, uint16_t),

but forgot to free the 'extra_pg0_lock_spec' array. Do it in the
instance_finalize() handler.

Cc: qemu-stable@nongnu.org
Fixes: 9e4aa1fafe ("hw/nvram: Xilinx Versal eFuse device") # v6.2.0+
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20231121174051.63038-6-philmd@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit 4f10c66077e39969940d928077560665e155cac8)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-12-05 12:32:36 +03:00
..
9pfs
acpi
adc
alpha
arm hw/arm/boot: Set SCR_EL3.FGTEn when booting kernel 2023-10-03 02:00:54 +03:00
audio hw/audio/es1370: reset current sample counter 2023-10-12 01:10:13 +03:00
avr
block hw/xen: use correct default protocol for xen-block on x86 2023-11-09 16:39:13 +03:00
char hw/char/riscv_htif: Fix the console syscall on big endian hosts 2023-09-21 19:35:19 +03:00
core util/uuid: Add UUID_STR_LEN definition 2023-11-09 16:39:13 +03:00
cpu
cris
cxl hw/cxl: Fix CFMW config memory leak 2023-10-03 02:00:54 +03:00
display ati-vga: Implement fallback for pixman routines 2023-11-09 16:39:13 +03:00
dma
gpio
hppa
hyperv util/uuid: Add UUID_STR_LEN definition 2023-11-09 16:39:13 +03:00
i2c hw/i2c/aspeed: Fix TXBUF transmission start position error 2023-09-21 19:35:19 +03:00
i386 hw/xen: take iothread mutex in xen_evtchn_reset_op() 2023-11-09 16:39:13 +03:00
ide hw/ide/ahci: fix legacy software reset 2023-11-22 14:25:22 +03:00
input lasips2: LASI PS/2 devices are not user-createable 2023-10-21 10:22:02 +03:00
intc hw/intc: Make rtc variable names consistent 2023-09-21 19:35:19 +03:00
ipack
ipmi
isa
loongarch
m68k
mem
microblaze
mips hw/mips: LOONGSON3V depends on UNIMP device 2023-11-19 21:15:06 +03:00
misc hw/misc/mps2-scc: Free MPS2SCC::oscclk[] array on finalize() 2023-12-05 12:32:36 +03:00
net net: Provide MemReentrancyGuard * to qemu_new_nic() 2023-11-29 15:33:42 +03:00
nios2
nubus
nvme hw/nvme: fix null pointer access in ruh update 2023-08-09 15:32:32 +02:00
nvram hw/nvram/xlnx-efuse-ctrl: Free XlnxVersalEFuseCtrl[] "pg0-lock" array 2023-12-05 12:32:36 +03:00
openrisc
pci pci: Fix the update of interrupt disable bit in PCI_COMMAND register 2023-08-11 12:15:24 -04:00
pci-bridge
pci-host hw/pci-host: Allow extended config space access for Designware PCIe host 2023-08-11 12:15:24 -04:00
pcmcia
ppc hw/ppc: Read time only once to perform decrementer write 2023-09-25 23:44:30 +03:00
rdma hw/rdma/vmw/pvrdma_cmd: Use correct struct in query_port() 2023-10-24 09:14:34 +03:00
remote
riscv riscv: Fix SiFive E CLINT clock frequency 2023-11-29 16:15:22 +03:00
rtc
rx
s390x s390x/pci: only limit DMA aperture if vfio DMA limit reported 2023-11-19 21:15:06 +03:00
scsi scsi-disk: ensure that FORMAT UNIT commands are terminated 2023-10-03 18:25:13 +03:00
sd hw/sd/sdhci: Block Size Register bits [14:12] is lost 2023-10-24 09:12:45 +03:00
sensor
sh4
smbios
sparc
sparc64
ssi
timer
tpm
tricore
usb net: Provide MemReentrancyGuard * to qemu_new_nic() 2023-11-29 15:33:42 +03:00
vfio vfio/pci: Fix buffer overrun when writing the VF token 2023-11-09 16:39:13 +03:00
virtio hw/virtio: Free VirtIOIOMMUPCI::vdev.reserved_regions[] on finalize() 2023-12-05 12:32:36 +03:00
watchdog
xen
xenpv
xtensa
Kconfig
meson.build