X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=ntoskrnl%2Fmm%2FARM3%2Fpool.c;h=31d07beef7a34e3d8b06282c8f8a5056952336f1;hp=e8ade80eb1621d73aad8ebb0e63b92c5525df0f4;hb=f66525ee02257ec70732abc74034a2161e12190b;hpb=a989736ead401c669e8f30b190f3539e9d32d537 diff --git a/ntoskrnl/mm/ARM3/pool.c b/ntoskrnl/mm/ARM3/pool.c index e8ade80eb16..31d07beef7a 100644 --- a/ntoskrnl/mm/ARM3/pool.c +++ b/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; } }