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

in a failure case.

CORE-12791
This commit is contained in:
Serge Gautherie
2025-05-28 03:48:05 +02:00
committed by Timo Kreuzer
parent 25a6fdf867
commit f00e1cd6aa

View File

@@ -445,7 +445,6 @@ IopGetBusTypeGuidIndex(LPGUID BusTypeGuid)
if (!NewList)
{
/* Fail */
ExFreePool(PnpBusTypeGuidList);
goto Quickie;
}