Skip to content

Commit

Permalink
main.c: fix close handle
Browse files Browse the repository at this point in the history
  • Loading branch information
yuk7 authored Oct 31, 2019
1 parent b018fc2 commit 115ed14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ unsigned long QueryUser(wchar_t *TargetName,wchar_t *username)
return (unsigned long)E_FAIL;
}

CloseHandle(hInTmp);
CloseHandle(hOutTmp);
CloseHandle(hIn);
CloseHandle(hOut);
CloseHandle(hProcess);

//read output
Expand Down

0 comments on commit 115ed14

Please sign in to comment.