diff options
| author | Gonglei | 2014-05-19 09:26:03 +0200 |
|---|---|---|
| committer | Michael Roth | 2014-06-03 22:07:59 +0200 |
| commit | 374044f08fe18a18469b981812cd8695f5b3569c (patch) | |
| tree | 73c93efb0b46f013d4aad430409c3ae77d659e50 /scripts | |
| parent | Merge remote-tracking branch 'remotes/awilliam/tags/vfio-pci-for-qemu-2014060... (diff) | |
| download | qemu-374044f08fe18a18469b981812cd8695f5b3569c.tar.gz qemu-374044f08fe18a18469b981812cd8695f5b3569c.tar.xz qemu-374044f08fe18a18469b981812cd8695f5b3569c.zip | |
qga: Fix handle fd leak in acquire_privilege()
token should be closed in all conditions.
So move CloseHandle(token) to "out" branch.
Signed-off-by: Wang Rui <moon.wangrui@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
