mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[ADVAPI32]
- Fix a potential memory leak. Spotted by Hermès svn path=/trunk/; revision=56940
This commit is contained in:
parent
189a83fdde
commit
3161623a23
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ ScServiceMainStub(LPVOID Context)
|
|||
(lpService->ThreadParams.W.lpServiceMain)(lpService->ThreadParams.W.dwArgCount,
|
||||
lpService->ThreadParams.W.lpArgVector);
|
||||
|
||||
if (lpService->ThreadParams.A.lpArgVector != NULL)
|
||||
if (lpService->ThreadParams.W.lpArgVector != NULL)
|
||||
{
|
||||
HeapFree(GetProcessHeap(),
|
||||
0,
|
||||
|
|
Loading…
Reference in a new issue