mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 08:51:29 +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:
parent
372ab04bc4
commit
b05fcc754d
|
@ -196,6 +196,7 @@ WmipGetRawSMBiosTableData(
|
|||
TableMapping = MmMapIoSpace(PhysicalAddress, TableSize, MmCached);
|
||||
if (TableMapping == NULL)
|
||||
{
|
||||
ExFreePoolWithTag(BiosTables, 'BTMS');
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue