Author: tkreuzer
Date: Sat Feb 8 16:28:14 2014
New Revision: 62045
URL:
http://svn.reactos.org/svn/reactos?rev=62045&view=rev
Log:
[NTOSKRNL]
Fix LDR entry reference count.
CORE-7862 #resolve
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/sysldr.c [iso-8859-1] Sat Feb 8 16:28:14 2014
@@ -1896,8 +1896,8 @@
}
else
{
- /* No referencing needed */
- LdrEntry->LoadCount = 0;
+ /* Add a reference for all other modules as well */
+ LdrEntry->LoadCount = 1;
}
/* Remember this came from the loader */