Skip to content

Commit 115ed14

Browse files
authored
main.c: fix close handle
1 parent b018fc2 commit 115ed14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ unsigned long QueryUser(wchar_t *TargetName,wchar_t *username)
322322
return (unsigned long)E_FAIL;
323323
}
324324

325-
CloseHandle(hInTmp);
326-
CloseHandle(hOutTmp);
325+
CloseHandle(hIn);
326+
CloseHandle(hOut);
327327
CloseHandle(hProcess);
328328

329329
//read output

0 commit comments

Comments
 (0)