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: NWang Rui <moon.wangrui@huawei.com> Signed-off-by: NGonglei <arei.gonglei@huawei.com> Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
Showing