diff --git a/reactos/dll/win32/kernel32/misc/toolhelp.c b/reactos/dll/win32/kernel32/misc/toolhelp.c index 8e2600c0ee4..ad2f2b7db2a 100644 --- a/reactos/dll/win32/kernel32/misc/toolhelp.c +++ b/reactos/dll/win32/kernel32/misc/toolhelp.c @@ -98,7 +98,7 @@ TH32FreeAllocatedResources(PRTL_DEBUG_INFORMATION HeapDebug, if(ProcThrdInfo != NULL) { NtFreeVirtualMemory(NtCurrentProcess(), - ProcThrdInfo, + &ProcThrdInfo, &ProcThrdInfoSize, MEM_RELEASE); }