Re: [Qemu-devel] [PATCH] linux-user: fix memory leak in failure path

2011-09-28 Thread Alex Jia
On 09/28/2011 03:55 PM, Peter Maydell wrote: On 28 September 2011 07:57, wrote: From: Alex Jia Haven't released memory of 'array' and 'host_mb' in failure paths. Signed-off-by: Alex Jia --- linux-user/syscall.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/l

Re: [Qemu-devel] [PATCH] linux-user: fix memory leak in failure path

2011-09-28 Thread Peter Maydell
On 28 September 2011 07:57, wrote: > From: Alex Jia > > Haven't released memory of 'array' and 'host_mb' in failure paths. > > Signed-off-by: Alex Jia > --- >  linux-user/syscall.c |    6 -- >  1 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/linux-user/syscall.c b/linux-us

[Qemu-devel] [PATCH] linux-user: fix memory leak in failure path

2011-09-27 Thread ajia
From: Alex Jia Haven't released memory of 'array' and 'host_mb' in failure paths. Signed-off-by: Alex Jia --- linux-user/syscall.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 7735008..922c2a0 100644 --- a/linux