mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[NTOS:WMI]
- Avoid a memory leak in failure case of WmipGetRawSMBiosTableData. CORE-11095 #resolve svn path=/trunk/; revision=71129
This commit is contained in:
@@ -196,6 +196,7 @@ WmipGetRawSMBiosTableData(
|
||||
TableMapping = MmMapIoSpace(PhysicalAddress, TableSize, MmCached);
|
||||
if (TableMapping == NULL)
|
||||
{
|
||||
ExFreePoolWithTag(BiosTables, 'BTMS');
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user