mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:PNP] IopEnumerateDetectedDevices(): Fix CmResourceList leak
CORE-18962
This commit is contained in:
parent
d8946e20cb
commit
059d12a5ac
1 changed files with 2 additions and 0 deletions
|
@ -487,6 +487,8 @@ IopEnumerateDetectedDevices(
|
|||
CmResourceList,
|
||||
BootResourcesLength + sizeof(ULONG));
|
||||
|
||||
ExFreePool(CmResourceList);
|
||||
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT("ZwSetValueKey() failed with status 0x%08lx\n", Status);
|
||||
|
|
Loading…
Reference in a new issue