|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] potential memory leak
Hi,
Here is a trivial patch to avoid potential memory leak.
Thanks,
Kouya
Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
diff -r f7d65fb7299b xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c Tue Oct 10 22:04:01 2006 +0100
+++ b/xen/arch/x86/hvm/hvm.c Thu Oct 12 12:22:05 2006 +0900
@@ -653,6 +653,7 @@ int hvm_bringup_ap(int vcpuid, int tramp
if ( rc != 0 )
{
DPRINTK("AP %d bringup failed in boot_vcpu %x.\n", vcpuid, rc);
+ xfree(ctxt);
return rc;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] potential memory leak,
Kouya SHIMURA <=
|
|
|
|
|