mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 10:53:15 +00:00
Fix memory leak in CreateToolhelp32Snapshot(). Bug #5096.
svn path=/trunk/; revision=44969
This commit is contained in:
parent
d4aca75523
commit
0c5fed9d71
|
@ -98,7 +98,7 @@ TH32FreeAllocatedResources(PRTL_DEBUG_INFORMATION HeapDebug,
|
|||
if(ProcThrdInfo != NULL)
|
||||
{
|
||||
NtFreeVirtualMemory(NtCurrentProcess(),
|
||||
ProcThrdInfo,
|
||||
&ProcThrdInfo,
|
||||
&ProcThrdInfoSize,
|
||||
MEM_RELEASE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue