mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[ntoskrnl/ps]
- When deleting a Process remove the Process from the MmProcessList. Fixes random NonPaged Pool corruptions. Thanks aicom for assistance. svn path=/trunk/; revision=48632
This commit is contained in:
@@ -301,6 +301,8 @@ PspDeleteProcess(IN PVOID ObjectBody)
|
||||
/* Detach */
|
||||
KeUnstackDetachProcess(&ApcState);
|
||||
|
||||
RemoveEntryList(&Process->MmProcessLinks);
|
||||
|
||||
/* Completely delete the Address Space */
|
||||
MmDeleteProcessAddressSpace(Process);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user