From: Aleksey Bragin Date: Sat, 26 Feb 2011 14:12:55 +0000 (+0000) Subject: [NTDLL/LDR] X-Git-Tag: ReactOS-0.3.13~133 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=ac818869156e0c0dd365d1818d547f5971bab01e;hp=49516d954552cd325fdb2e57a6b5fed9aa916967 [NTDLL/LDR] - Don't try to free a pointer allocated on stack. See issue #4751 for more details. svn path=/trunk/; revision=50910 --- diff --git a/reactos/dll/ntdll/ldr/utils.c b/reactos/dll/ntdll/ldr/utils.c index 345d159eebf..e7213b3df07 100644 --- a/reactos/dll/ntdll/ldr/utils.c +++ b/reactos/dll/ntdll/ldr/utils.c @@ -2394,7 +2394,6 @@ LdrpLoadModule(IN PWSTR SearchPath OPTIONAL, RtlFreeUnicodeString (&(*Module)->FullDllName); RtlFreeUnicodeString (&(*Module)->BaseDllName); RemoveEntryList (&(*Module)->InLoadOrderLinks); - RtlFreeHeap (RtlGetProcessHeap (), 0, Module); return Status; }