mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
fixed memory leak
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3387 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -713,6 +713,8 @@ NTSTATUS PhpOpenCsrProcesses(
|
||||
}
|
||||
} while (process = PH_NEXT_PROCESS(process));
|
||||
|
||||
PhFree(processes);
|
||||
|
||||
*ProcessHandles = PhAllocateCopy(processHandleList->Items, processHandleList->Count * sizeof(HANDLE));
|
||||
*NumberOfProcessHandles = processHandleList->Count;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user