entry is moved from list but is not freed. Signed-off-by: linzhecheng <linzhech...@huawei.com>
diff --git a/target/i386/kvm.c b/target/i386/kvm.c index 351b64f77c..3c920db79a 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -3494,6 +3494,7 @@ int kvm_arch_release_virq_post(int virq) if (entry->virq == virq) { trace_kvm_x86_remove_msi_route(virq); QLIST_REMOVE(entry, list); + g_free(entry); break; } } -- 2.12.2.windows.2