projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db08b68
)
irq: fix memory leak
author
linzhecheng
<linzhecheng@huawei.com>
Mon, 25 Dec 2017 02:47:04 +0000
(10:47 +0800)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 16 Jan 2018 13:54:51 +0000
(14:54 +0100)
entry is moved from list but is not freed.
Signed-off-by: linzhecheng <linzhecheng@huawei.com>
Message-Id: <
20171225024704
.19540-1-linzhecheng@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/kvm.c
patch
|
blob
|
history
diff --git
a/target/i386/kvm.c
b/target/i386/kvm.c
index 825aea5bd57f374a8948f8419f632db290079f3d..4912f4d538a425a68bbd44ce584986aade60eaae 100644
(file)
--- a/
target/i386/kvm.c
+++ b/
target/i386/kvm.c
@@
-3470,6
+3470,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;
}
}