mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
[NTOSKRNL]
Fix wrong sizeof usage with performance counters svn path=/trunk/; revision=56073
This commit is contained in:
@@ -2170,7 +2170,7 @@ ExFreePoolWithTag(IN PVOID P,
|
||||
// Update performance counters
|
||||
//
|
||||
InterlockedIncrement((PLONG)&PoolDesc->RunningDeAllocs);
|
||||
InterlockedExchangeAddSizeT(&PoolDesc->TotalBytes, -BlockSize * sizeof(POOL_BLOCK_SIZE));
|
||||
InterlockedExchangeAddSizeT(&PoolDesc->TotalBytes, -BlockSize * POOL_BLOCK_SIZE);
|
||||
|
||||
//
|
||||
// Acquire the pool lock
|
||||
|
||||
Reference in New Issue
Block a user