mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
handle the case when ExRundownCompleted() was called before ExReleaseRundownProtectionEx()
svn path=/trunk/; revision=13700
This commit is contained in:
parent
502d8150de
commit
838bea2661
1 changed files with 5 additions and 1 deletions
|
@ -118,7 +118,11 @@ ExReleaseRundownProtectionEx (
|
|||
/* Get Pointer */
|
||||
PRUNDOWN_DESCRIPTOR RundownDescriptor = (PRUNDOWN_DESCRIPTOR)((ULONG_PTR)RunRef->Ptr & ~EX_RUNDOWN_ACTIVE);
|
||||
|
||||
ASSERT(RundownDescriptor != NULL);
|
||||
if (RundownDescriptor == NULL)
|
||||
{
|
||||
/* the rundown was completed and there's no one to notify */
|
||||
break;
|
||||
}
|
||||
|
||||
Current = RundownDescriptor->References;
|
||||
|
||||
|
|
Loading…
Reference in a new issue