Author: pschweitzer Date: Sun Jul 14 09:30:26 2013 New Revision: 59478
URL: http://svn.reactos.org/svn/reactos?rev=59478&view=rev Log: [NTOSKRNL] Fix return of MiProtectedPoolUnProtectLinks() which was always returning null, instead of returning safe unprotected links when needed
Modified: trunk/reactos/ntoskrnl/mm/ARM3/pool.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/pool.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/pool.c?rev... ============================================================================== --- trunk/reactos/ntoskrnl/mm/ARM3/pool.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/mm/ARM3/pool.c [iso-8859-1] Sun Jul 14 09:30:26 2013 @@ -118,7 +118,7 @@
/* 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 @@
/* Make it safe to access */ Safe = MiUnProtectFreeNonPagedPool(PoolVa, 1); - if (Safe) PoolBlink = PoolVa; + if (Safe) *PoolBlink = PoolVa; } }