mirror of
https://github.com/reactos/reactos.git
synced 2025-06-09 20:11:14 +00:00
[NTOS:MM] Fix unlocking on failure path
This commit is contained in:
parent
d23dbdda4c
commit
3efc5b1734
1 changed files with 2 additions and 0 deletions
|
@ -1243,6 +1243,8 @@ MiLoadUserSymbols(IN PCONTROL_AREA ControlArea,
|
||||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||||
{
|
{
|
||||||
ExFreePoolWithTag(LdrEntry, 'bDmM');
|
ExFreePoolWithTag(LdrEntry, 'bDmM');
|
||||||
|
ExReleaseResourceLite(&PsLoadedModuleResource);
|
||||||
|
KeLeaveCriticalRegion();
|
||||||
_SEH2_YIELD(return);
|
_SEH2_YIELD(return);
|
||||||
}
|
}
|
||||||
_SEH2_END;
|
_SEH2_END;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue