From 9790fc29f3480068ee036d96f6a5b95976960d2e Mon Sep 17 00:00:00 2001 From: C De <54338635+cde-git@users.noreply.github.com> Date: Fri, 10 Jun 2022 14:32:09 -0700 Subject: [PATCH] Removing instance of ExAllocatePoolWithTag (#742) Co-authored-by: C De --- bluetooth/bthecho/bthcli/sys/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bluetooth/bthecho/bthcli/sys/client.c b/bluetooth/bthecho/bthcli/sys/client.c index a3947b2a2..ec3a59c08 100644 --- a/bluetooth/bthecho/bthcli/sys/client.c +++ b/bluetooth/bthecho/bthcli/sys/client.c @@ -313,7 +313,7 @@ Return Value: goto exit2; } - serverSdpRecord = ExAllocatePoolWithTag(NonPagedPoolNx, requestSize, POOLTAG_BTHECHOSAMPLE); + serverSdpRecord = ExAllocatePool2(POOL_FLAG_NON_PAGED, requestSize, POOLTAG_BTHECHOSAMPLE); if (NULL == serverSdpRecord) { status = STATUS_INSUFFICIENT_RESOURCES;