Re: [Qemu-devel] [PATCH] hw/block/m25p80: fix resource leak

2016-07-05 Thread Peter Maydell
On 5 July 2016 at 03:16, Shannon Zhao wrote: > From: Shannon Zhao > > These two are spot by Coverity 1357232 and 1357233. > > Signed-off-by: Shannon Zhao Applied to target-arm.next, thanks. -- PMM

[Qemu-devel] [PATCH] hw/block/m25p80: fix resource leak

2016-07-04 Thread Shannon Zhao
From: Shannon Zhao These two are spot by Coverity 1357232 and 1357233. Signed-off-by: Shannon Zhao --- hw/block/m25p80.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c index d9b2793..ca8c12c 100644 --- a/hw/block/m25p80.c +++ b/h