projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
49516d9
)
[NTDLL/LDR]
author
Aleksey Bragin
<aleksey@reactos.org>
Sat, 26 Feb 2011 14:12:55 +0000
(14:12 +0000)
committer
Aleksey Bragin
<aleksey@reactos.org>
Sat, 26 Feb 2011 14:12:55 +0000
(14:12 +0000)
- Don't try to free a pointer allocated on stack.
See issue #4751 for more details.
svn path=/trunk/; revision=50910
reactos/dll/ntdll/ldr/utils.c
patch
|
blob
|
history
diff --git
a/reactos/dll/ntdll/ldr/utils.c
b/reactos/dll/ntdll/ldr/utils.c
index
345d159
..
e7213b3
100644
(file)
--- 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);
RtlFreeUnicodeString (&(*Module)->FullDllName);
RtlFreeUnicodeString (&(*Module)->BaseDllName);
RemoveEntryList (&(*Module)->InLoadOrderLinks);
- RtlFreeHeap (RtlGetProcessHeap (), 0, Module);
return Status;
}
return Status;
}