qemu/hw/cxl
Li Zhijian 6970f5ba0e 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>
(cherry picked from commit 7b165fa164022b756c2b001d0a1525f98199d3ac)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-10-03 02:00:54 +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/cxl/events: Add event interrupt support 2023-06-22 18:55:14 -04:00
cxl-host-stubs.c
cxl-host.c hw/cxl: Fix CFMW config memory leak 2023-10-03 02:00:54 +03:00
cxl-mailbox-utils.c hw/cxl/events: Add event interrupt support 2023-06-22 18:55:14 -04:00
Kconfig
meson.build hw/cxl/events: Wire up get/clear event mailbox commands 2023-06-22 18:55:14 -04:00