aboutsummaryrefslogtreecommitdiff
path: root/stubs/virtio-md-pci.c
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@cn.fujitsu.com>2023-09-04 14:28:03 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2023-09-21 11:31:18 +0300
commit7b165fa164022b756c2b001d0a1525f98199d3ac (patch)
treee4b05a3f5e5b972e39e63d9f9460bf9caf62daa7 /stubs/virtio-md-pci.c
parent306764ee3bfd312a17af1b69e5a263a2fe6e76cb (diff)
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>
Diffstat (limited to 'stubs/virtio-md-pci.c')
0 files changed, 0 insertions, 0 deletions