Skip to content

Commit

Permalink
Fixes issue trustedsec#2
Browse files Browse the repository at this point in the history
  • Loading branch information
freefirex committed May 5, 2022
1 parent 4dd6c4c commit 37735ae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified Remote/ProcessListHandles/ProcessListHandles.x64.o
Binary file not shown.
Binary file modified Remote/ProcessListHandles/ProcessListHandles.x86.o
Binary file not shown.
4 changes: 2 additions & 2 deletions src/Remote/ProcessListHandles/entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ DWORD killit(DWORD pid) {
objectNameInfo = NULL;
}

if (processHandle) {
if (dupHandle) {
KERNEL32$CloseHandle(dupHandle);
dupHandle = NULL;
}
Expand Down Expand Up @@ -292,7 +292,7 @@ DWORD killit(DWORD pid) {
objectNameInfo = NULL;
}

if (processHandle) {
if (dupHandle) {
KERNEL32$CloseHandle(dupHandle);
dupHandle = NULL;
}
Expand Down

0 comments on commit 37735ae

Please sign in to comment.