fix findprocess obdereference

This commit is contained in:
2026-06-24 09:27:22 +08:00
parent 3e7beaa4ec
commit 2719a2193d
+2 -1
View File
@@ -68,7 +68,7 @@ namespace mouse_keybord_hook
}
kernel_function::ke_unstack_detach_process(apc_state);
ObDereferenceObject(_eprocess_process);
return 0;
}
@@ -83,6 +83,7 @@ namespace mouse_keybord_hook
inline_hooks_manager::fn_get_instance()->inline_remov_hook((void**)_ntSendInput);
kernel_function::ke_unstack_detach_process(apc_state);
ObDereferenceObject(_eprocess_process);
return 0;
}