Skip to content

Commit

Permalink
Removing instance of ExAllocatePoolWithTag (microsoft#742)
Browse files Browse the repository at this point in the history
Co-authored-by: C De <[email protected]>
  • Loading branch information
cde-git and C De authored Jun 10, 2022
1 parent 407a607 commit 9790fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluetooth/bthecho/bthcli/sys/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9790fc2

Please sign in to comment.