[KMTESTS:KE]
[reactos.git] / rostests / kmtests / ntos_ex / ExPools.c
index a9dc117..9b67eed 100644 (file)
@@ -90,7 +90,7 @@ static VOID PoolsTest(VOID)
 
     // now test allocating lots of small/medium blocks
     AllocNumber = 100000;
-    Allocs = ExAllocatePoolWithTag(PagedPool, sizeof(Allocs) * AllocNumber, TAG_POOLTEST);
+    Allocs = ExAllocatePoolWithTag(PagedPool, sizeof(*Allocs) * AllocNumber, TAG_POOLTEST);
 
     // alloc blocks
     for (i=0; i<AllocNumber; i++)
@@ -194,7 +194,6 @@ TestPoolQuota(VOID)
     LONG InitialRefCount;
     LONG RefCount;
     USHORT PoolType;
-    NTSTATUS ExceptionStatus;
 
     InitialRefCount = GetRefCount(Process);