mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 20:24:01 +00:00
Fixed the 'Frequent Crasher Bug'.
svn path=/trunk/; revision=2631
This commit is contained in:
parent
be9ed281e0
commit
46cef7fc9b
1 changed files with 3 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: pageop.c,v 1.6 2002/01/09 03:00:21 dwelch Exp $
|
/* $Id: pageop.c,v 1.7 2002/02/18 18:41:23 hbirr Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -53,10 +53,9 @@ MmReleasePageOp(PMM_PAGEOP PageOp)
|
||||||
ExFreePool(PageOp);
|
ExFreePool(PageOp);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
PrevPageOp = PrevPageOp->Next;
|
while (PrevPageOp->Next != NULL)
|
||||||
while (PrevPageOp != NULL)
|
|
||||||
{
|
{
|
||||||
if (PrevPageOp == PageOp)
|
if (PrevPageOp->Next == PageOp)
|
||||||
{
|
{
|
||||||
PrevPageOp->Next = PageOp->Next;
|
PrevPageOp->Next = PageOp->Next;
|
||||||
KeReleaseSpinLock(&MmPageOpHashTableLock, oldIrql);
|
KeReleaseSpinLock(&MmPageOpHashTableLock, oldIrql);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue