[ADVAPI32]

- Fix a potential memory leak. Spotted by Hermès

svn path=/trunk/; revision=56940
This commit is contained in:
Thomas Faber 2012-07-22 18:48:28 +00:00
parent 189a83fdde
commit 3161623a23

View file

@ -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,