Re: [Xen-devel] [PATCH 2/2] x86: fix memory leak in pvh_setup_acpi_xsdt

2017-02-27 Thread Roger Pau Monné
On Sun, Feb 26, 2017 at 03:49:32PM +, Wei Liu wrote: > Switch to use goto style error handling to avoid leaking xsdt. > > Coverity-ID: 1401535 > > Signed-off-by: Wei Liu Thanks! Same comments as the ones in the previous patch, and the first goto is not really needed. Reviewed-by: Roger Pau

[Xen-devel] [PATCH 2/2] x86: fix memory leak in pvh_setup_acpi_xsdt

2017-02-26 Thread Wei Liu
Switch to use goto style error handling to avoid leaking xsdt. Coverity-ID: 1401535 Signed-off-by: Wei Liu --- xen/arch/x86/domain_build.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/xen/arch/x86/domain_build.c b/xen/arch/x86/domain_build.c index 1f