[NTOS:PNP] IopGetBusTypeGuidIndex(): Remove 1 unwanted ExFreePool()

in a failure case.

CORE-12791
This commit is contained in:
Serge Gautherie
2026-05-10 14:07:51 +00:00
committed by Timo Kreuzer
parent 25a6fdf867
commit f00e1cd6aa
-1
View File
@@ -445,7 +445,6 @@ IopGetBusTypeGuidIndex(LPGUID BusTypeGuid)
if (!NewList)
{
/* Fail */
ExFreePool(PnpBusTypeGuidList);
goto Quickie;
}