mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 17:03:12 -05:00
sys: FspAllocatePoolMustSucceed, FspAllocateIrpMustSucceed
This commit is contained in:
parent
98ebfed65b
commit
342fd6a996
@ -78,7 +78,7 @@ PVOID FspAllocatePoolMustSucceed(POOL_TYPE PoolType, SIZE_T Size, ULONG Tag)
|
||||
|
||||
for (ULONG i = 0, n = sizeof(Delays) / sizeof(Delays[0]);; i++)
|
||||
{
|
||||
Result = ExAllocatePoolWithTag(PoolType, Size, Tag);
|
||||
Result = DEBUGRANDTEST(95, TRUE) ? ExAllocatePoolWithTag(PoolType, Size, Tag) : 0;
|
||||
if (0 != Result)
|
||||
return Result;
|
||||
|
||||
@ -96,7 +96,7 @@ PVOID FspAllocateIrpMustSucceed(CCHAR StackSize)
|
||||
|
||||
for (ULONG i = 0, n = sizeof(Delays) / sizeof(Delays[0]);; i++)
|
||||
{
|
||||
Result = IoAllocateIrp(StackSize, FALSE);
|
||||
Result = DEBUGRANDTEST(95, TRUE) ? IoAllocateIrp(StackSize, FALSE) : 0;
|
||||
if (0 != Result)
|
||||
return Result;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user