aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/burnpipe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/burnpipe.cpp')
-rw-r--r--src/burn/engine/burnpipe.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/burn/engine/burnpipe.cpp b/src/burn/engine/burnpipe.cpp
index d106e7ae..25d602b1 100644
--- a/src/burn/engine/burnpipe.cpp
+++ b/src/burn/engine/burnpipe.cpp
@@ -305,7 +305,7 @@ extern "C" HRESULT BurnPipeWaitForChildConnect(
305 { 305 {
306 HANDLE hPipe = hPipes[i]; 306 HANDLE hPipe = hPipes[i];
307 307
308 hr = PipeServerWaitForClientConnect(hPipe); 308 hr = PipeServerWaitForClientConnect(pConnection->hProcess, hPipe);
309 ExitOnRootFailure(hr, "Failed to wait for child to connect to pipe."); 309 ExitOnRootFailure(hr, "Failed to wait for child to connect to pipe.");
310 310
311 // Prove we are the one that created the elevated process by passing the secret. 311 // Prove we are the one that created the elevated process by passing the secret.
@@ -355,7 +355,7 @@ extern "C" HRESULT BurnPipeTerminateLoggingPipe(
355 ExitOnFailure(hr, "Failed to post complete message to logging pipe."); 355 ExitOnFailure(hr, "Failed to post complete message to logging pipe.");
356 356
357LExit: 357LExit:
358 ReleaseBuffer(pbData); 358 ReleaseMem(pbData);
359 359
360 return hr; 360 return hr;
361} 361}
@@ -419,7 +419,7 @@ extern "C" HRESULT BurnPipeTerminateChildProcess(
419#endif 419#endif
420 420
421LExit: 421LExit:
422 ReleaseBuffer(pbData); 422 ReleaseMem(pbData);
423 423
424 return hr; 424 return hr;
425} 425}