aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@fujitsu.com>2025-02-03 16:19:06 +0000
committerMichael S. Tsirkin <mst@redhat.com>2025-02-21 07:18:42 -0500
commit06953e7e5ea5e8fa0b7b704bdb66ab1e62f1f378 (patch)
tree75173e52839ca7282bb682d36462683fb40c5acb /scripts/qapi/commands.py
parent0401c4328f4d18be540fd432c2bbacce4531d14f (diff)
downloadqemu-06953e7e5ea5e8fa0b7b704bdb66ab1e62f1f378.zip
qemu-06953e7e5ea5e8fa0b7b704bdb66ab1e62f1f378.tar.gz
qemu-06953e7e5ea5e8fa0b7b704bdb66ab1e62f1f378.tar.bz2
hw/mem/cxl_type3: Fix special_ops memory leak on msix_init_exclusive_bar() failure
Address a memory leak issue by ensuring `regs->special_ops` is freed when `msix_init_exclusive_bar()` encounters an error during CXL Type3 device initialization. Additionally, this patch renames err_address_space_free to err_msix_uninit for better clarity and logical flow Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20250203161908.145406-4-Jonathan.Cameron@huawei.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions