diff --git a/reactos/ntoskrnl/mm/ARM3/pool.c b/reactos/ntoskrnl/mm/ARM3/pool.c index e8ade80eb16..31d07beef7a 100644 --- a/reactos/ntoskrnl/mm/ARM3/pool.c +++ b/reactos/ntoskrnl/mm/ARM3/pool.c @@ -118,7 +118,7 @@ MiProtectedPoolUnProtectLinks(IN PLIST_ENTRY Links, /* So make it safe to access */ Safe = MiUnProtectFreeNonPagedPool(PoolVa, 1); - if (Safe) PoolFlink = PoolVa; + if (Safe) *PoolFlink = PoolVa; } /* Are we going to need a backward link too? */ @@ -129,7 +129,7 @@ MiProtectedPoolUnProtectLinks(IN PLIST_ENTRY Links, /* Make it safe to access */ Safe = MiUnProtectFreeNonPagedPool(PoolVa, 1); - if (Safe) PoolBlink = PoolVa; + if (Safe) *PoolBlink = PoolVa; } }