diff --git a/hw/cxl/cxl-mailbox-utils.c b/hw/cxl/cxl-mailbox-utils.c index 6b16cc206f..20e0b7e476 100644 --- a/hw/cxl/cxl-mailbox-utils.c +++ b/hw/cxl/cxl-mailbox-utils.c @@ -2068,6 +2068,8 @@ static void cxl_perform_ppr(CXLType3Dev *ct3d, uint64_t dpa) CXL_MEMDEV_MAINT_SUBCLASS_CACHELINE_SPARING, ent, NULL); } + QLIST_REMOVE(ent, node); + g_free(ent); break; } }