From 034c8a3379ab8ecf2ccc596df9484bca38c85f44 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Wed, 7 Mar 2012 07:38:31 +0000 Subject: [PATCH] [NTOSKRNL] Fix wrong sizeof usage with performance counters svn path=/trunk/; revision=56073 --- reactos/ntoskrnl/mm/ARM3/expool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/mm/ARM3/expool.c b/reactos/ntoskrnl/mm/ARM3/expool.c index e9dad32a5b4..4a9438df4e4 100644 --- a/reactos/ntoskrnl/mm/ARM3/expool.c +++ b/reactos/ntoskrnl/mm/ARM3/expool.c @@ -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