[NTOS:MM] Fix unlocking on failure path

This commit is contained in:
Jérôme Gardou 2021-01-26 11:21:08 +01:00
parent d23dbdda4c
commit 3efc5b1734

View file

@ -1243,6 +1243,8 @@ MiLoadUserSymbols(IN PCONTROL_AREA ControlArea,
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
ExFreePoolWithTag(LdrEntry, 'bDmM');
ExReleaseResourceLite(&PsLoadedModuleResource);
KeLeaveCriticalRegion();
_SEH2_YIELD(return);
}
_SEH2_END;