mirror of
https://github.com/reactos/reactos.git
synced 2025-05-21 01:54:21 +00:00
Fix memory leak in CreateToolhelp32Snapshot(). Bug #5096.
svn path=/trunk/; revision=44969
This commit is contained in:
parent
d4aca75523
commit
0c5fed9d71
1 changed files with 1 additions and 1 deletions
|
@ -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