Author: fireball
Date: Sat Feb 26 14:12:55 2011
New Revision: 50910
URL:
http://svn.reactos.org/svn/reactos?rev=50910&view=rev
Log:
[NTDLL/LDR]
- Don't try to free a pointer allocated on stack.
See issue #4751 for more details.
Modified:
trunk/reactos/dll/ntdll/ldr/utils.c
Modified: trunk/reactos/dll/ntdll/ldr/utils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/utils.c?rev=…
==============================================================================
--- trunk/reactos/dll/ntdll/ldr/utils.c [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/ldr/utils.c [iso-8859-1] Sat Feb 26 14:12:55 2011
@@ -2394,7 +2394,6 @@
RtlFreeUnicodeString (&(*Module)->FullDllName);
RtlFreeUnicodeString (&(*Module)->BaseDllName);
RemoveEntryList (&(*Module)->InLoadOrderLinks);
- RtlFreeHeap (RtlGetProcessHeap (), 0, Module);
return Status;
}