mirror of
https://github.com/ZeroMemoryEx/Terminator
synced 2026-08-31 14:05:54 +00:00
Fix device handle leak
This commit is contained in:
@@ -211,6 +211,7 @@ int main(void) {
|
||||
NULL, 0, NULL, NULL)) {
|
||||
printf("Failed to register the process in the trusted list %X !!\n",
|
||||
IOCTL_REGISTER_PROCESS);
|
||||
CloseHandle(hDevice);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user