On 3/2/25 17:19, Jonathan Cameron via wrote:
From: Li Zhijian <[email protected]>

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 <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
---
  hw/mem/cxl_type3.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to