Re: [Qemu-devel] [PATCH] mirror: Fix resource leak when bdrv_getlength fails

2014-04-29 Thread Kevin Wolf
Am 29.04.2014 um 09:50 hat Fam Zheng geschrieben: > The direct return will skip releasing of all the resouces at > immediate_exit, don't miss that. > > Signed-off-by: Fam Zheng Thanks, applied to the block branch. Kevin

Re: [Qemu-devel] [PATCH] mirror: Fix resource leak when bdrv_getlength fails

2014-04-29 Thread Fam Zheng
On Tue, 04/29 11:44, Kevin Wolf wrote: > Am 29.04.2014 um 09:50 hat Fam Zheng geschrieben: > > The direct return will skip releasing of all the resouces at > > immediate_exit, don't miss that. > > > > Signed-off-by: Fam Zheng > > Thanks, applied to the block branch. > The same problem as Kevin

[Qemu-devel] [PATCH] mirror: Fix resource leak when bdrv_getlength fails

2014-04-29 Thread Fam Zheng
The direct return will skip releasing of all the resouces at immediate_exit, don't miss that. Signed-off-by: Fam Zheng --- block/mirror.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/block/mirror.c b/block/mirror.c index 2618c37..56dfee2 100644 --- a/block/mirror.c +++ b