Skip to content

Commit

Permalink
comment for quick handle closure
Browse files Browse the repository at this point in the history
  • Loading branch information
tarterp committed Dec 1, 2023
1 parent 0be10e8 commit c4f5ece
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions C/STraceCLI/STraceCLI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ void LoadPlugin() {
printf("[!] Error writing plugin driver: %d\n", GetLastError());
return;
}

// Close Immediately so Loading Driver succeeds
CloseHandle(hFile);
hFile = INVALID_HANDLE_VALUE;

Expand Down

0 comments on commit c4f5ece

Please sign in to comment.