mirror of
https://github.com/reactos/reactos.git
synced 2025-05-30 06:28:34 +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.lpServiceMain)(lpService->ThreadParams.W.dwArgCount,
|
||||||
lpService->ThreadParams.W.lpArgVector);
|
lpService->ThreadParams.W.lpArgVector);
|
||||||
|
|
||||||
if (lpService->ThreadParams.A.lpArgVector != NULL)
|
if (lpService->ThreadParams.W.lpArgVector != NULL)
|
||||||
{
|
{
|
||||||
HeapFree(GetProcessHeap(),
|
HeapFree(GetProcessHeap(),
|
||||||
0,
|
0,
|
||||||
|
|
Loading…
Reference in a new issue