[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Fix memory leak in mce_wrmsr
Hi, Fix memory leak in mce_wrmsr. Thanks, KAZ Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx> diff -r 72d130772f36 xen/arch/x86/cpu/mcheck/mce.c --- a/xen/arch/x86/cpu/mcheck/mce.c Wed Sep 16 09:30:41 2009 +0100 +++ b/xen/arch/x86/cpu/mcheck/mce.c Fri Sep 18 16:21:31 2009 +0900 @@ -821,6 +821,7 @@ "Node, nr_injection %u\n", d->arch.vmca_msrs.nr_injection); list_del(&entry->list); + xfree(entry); } else gdprintk(XENLOG_WARNING, "MCE: Not found HVM guest" _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |