qemu/hw/cxl
Li Zhijian 7b165fa164 hw/cxl: Fix CFMW config memory leak
Allocate targets and targets[n] resources when all sanity checks are
passed to avoid memory leaks.

Cc: qemu-stable@nongnu.org
Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-09-21 11:31:18 +03:00
..
cxl-cdat.c hw/cxl: cdat: Fix failure to free buffer in erorr paths 2023-05-19 01:36:09 -04:00
cxl-component-utils.c hw/cxl: Fix incorrect reset of commit and associated clearing of committed. 2023-05-19 01:36:09 -04:00
cxl-device-utils.c hw/cxl/events: Add event status register 2023-06-22 18:55:14 -04:00
cxl-events.c hw/other: spelling fixes 2023-09-21 11:31:16 +03:00
cxl-host-stubs.c pci/pci_expander_bridge: For CXL HB delay the HB register memory region setup. 2022-06-09 19:32:49 -04:00
cxl-host.c hw/cxl: Fix CFMW config memory leak 2023-09-21 11:31:18 +03:00
cxl-mailbox-utils.c hw/other: spelling fixes 2023-09-21 11:31:16 +03:00
Kconfig
meson.build hw/cxl/events: Wire up get/clear event mailbox commands 2023-06-22 18:55:14 -04:00