[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:
Michael Martin
2010-08-28 00:26:02 +00:00
parent a9e0dc23a4
commit 87e8d75f00
+2
View File
@@ -301,6 +301,8 @@ PspDeleteProcess(IN PVOID ObjectBody)
/* Detach */
KeUnstackDetachProcess(&ApcState);
RemoveEntryList(&Process->MmProcessLinks);
/* Completely delete the Address Space */
MmDeleteProcessAddressSpace(Process);
}