mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[NTOSKRNL]
- add missing lock/unlock of kernel address space svn path=/trunk/; revision=54270
This commit is contained in:
parent
79721ed8cb
commit
d028b2cb22
1 changed files with 4 additions and 0 deletions
|
@ -4911,8 +4911,12 @@ MmUnmapViewInSystemSpace (IN PVOID MappedBase)
|
|||
DPRINT("MmUnmapViewInSystemSpace() called\n");
|
||||
|
||||
AddressSpace = MmGetKernelAddressSpace();
|
||||
|
||||
MmLockAddressSpace(AddressSpace);
|
||||
|
||||
Status = MmUnmapViewOfSegment(AddressSpace, MappedBase);
|
||||
|
||||
MmUnlockAddressSpace(AddressSpace);
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue