Author: fireball
Date: Tue Jul 16 19:21:55 2013
New Revision: 59493
URL:
http://svn.reactos.org/svn/reactos?rev=59493&view=rev
Log:
[NTOS/EX]
- ExInitializeZone: Don't add to an uninitialized TotalSegmentSize value, set it
instead.
Modified:
trunk/reactos/ntoskrnl/ex/zone.c
Modified: trunk/reactos/ntoskrnl/ex/zone.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/zone.c?rev=594…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/zone.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/zone.c [iso-8859-1] Tue Jul 16 19:21:55 2013
@@ -147,8 +147,8 @@
Entry += Zone->BlockSize;
}
- /* Update Segment Size */
- Zone->TotalSegmentSize += i;
+ /* Set Segment Size */
+ Zone->TotalSegmentSize = i;
/* Return success */
return STATUS_SUCCESS;