From f00e1cd6aa2cf2ed9f6c97773072883ee2e6b0e2 Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Wed, 28 May 2025 03:48:05 +0200 Subject: [PATCH] [NTOS:PNP] IopGetBusTypeGuidIndex(): Remove 1 unwanted ExFreePool() in a failure case. CORE-12791 --- ntoskrnl/io/pnpmgr/pnpmgr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ntoskrnl/io/pnpmgr/pnpmgr.c b/ntoskrnl/io/pnpmgr/pnpmgr.c index 2b92983a9a0..eac446f789d 100644 --- a/ntoskrnl/io/pnpmgr/pnpmgr.c +++ b/ntoskrnl/io/pnpmgr/pnpmgr.c @@ -445,7 +445,6 @@ IopGetBusTypeGuidIndex(LPGUID BusTypeGuid) if (!NewList) { /* Fail */ - ExFreePool(PnpBusTypeGuidList); goto Quickie; }