From: Gonglei arei.gong...@huawei.com
token should be closed in all conditions.
So move CloseHandle(token) to out branch.
Signed-off-by: Wang Rui moon.wang...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
qga/commands-win32.c
On May 20, 2014, at 10:46 PM, Michael Roth mdr...@linux.vnet.ibm.com wrote:
Quoting Luiz Capitulino (2014-05-20 14:17:42)
On Mon, 19 May 2014 15:26:03 +0800
arei.gong...@huawei.com wrote:
From: Gonglei arei.gong...@huawei.com
token should be closed in all conditions.
So move
-Original Message-
From: Yan Vugenfirer [mailto:yvuge...@redhat.com]
Sent: Wednesday, May 21, 2014 5:01 PM
To: Michael Roth
Cc: Luiz Capitulino; Wangrui (K); Gonglei (Arei); qemu-devel@nongnu.org;
arm...@redhat.com
Subject: Re: [Qemu-devel] [PATCH] qga: Fix handle fd leak
On May 19, 2014, at 10:26 AM, arei.gong...@huawei.com wrote:
From: Gonglei arei.gong...@huawei.com
token should be closed in all conditions.
So move CloseHandle(token) to out branch.
Signed-off-by: Wang Rui moon.wang...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
On Mon, 19 May 2014 15:26:03 +0800
arei.gong...@huawei.com wrote:
From: Gonglei arei.gong...@huawei.com
token should be closed in all conditions.
So move CloseHandle(token) to out branch.
Looks good to me. Michael, are you going to pick this one?
Signed-off-by: Wang Rui
Quoting Luiz Capitulino (2014-05-20 14:17:42)
On Mon, 19 May 2014 15:26:03 +0800
arei.gong...@huawei.com wrote:
From: Gonglei arei.gong...@huawei.com
token should be closed in all conditions.
So move CloseHandle(token) to out branch.
Looks good to me. Michael, are you going to pick
From: Gonglei arei.gong...@huawei.com
token should be closed in all conditions.
So move CloseHandle(token) to out branch.
Signed-off-by: Wang Rui moon.wang...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
qga/commands-win32.c | 6 --
1 file changed, 4 insertions(+), 2
On 05/19/2014 01:26 AM, arei.gong...@huawei.com wrote:
From: Gonglei arei.gong...@huawei.com
token should be closed in all conditions.
So move CloseHandle(token) to out branch.
Signed-off-by: Wang Rui moon.wang...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---