mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Fix memory leak in CreateToolhelp32Snapshot(). Bug #5096.
svn path=/trunk/; revision=44969
This commit is contained in:
@@ -98,7 +98,7 @@ TH32FreeAllocatedResources(PRTL_DEBUG_INFORMATION HeapDebug,
|
||||
if(ProcThrdInfo != NULL)
|
||||
{
|
||||
NtFreeVirtualMemory(NtCurrentProcess(),
|
||||
ProcThrdInfo,
|
||||
&ProcThrdInfo,
|
||||
&ProcThrdInfoSize,
|
||||
MEM_RELEASE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user