Bug fix for a misplaced & in call to DestroyEnvironmentBlock() during process_execute(), was causing a hang on Vista and an Access Violation on server 2008.

git-svn-id: file:///home/svn/framework3/trunk@9779 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Stephen Fewer 2010-07-11 16:37:50 +00:00
parent 11bad248c5
commit 7a57ca57a6
3 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ DWORD request_sys_process_execute(Remote *remote, Packet *packet)
break;
}
if (lpfnDestroyEnvironmentBlock && (NULL != pEnvironment)) lpfnDestroyEnvironmentBlock(&pEnvironment);
if (lpfnDestroyEnvironmentBlock && (NULL != pEnvironment)) lpfnDestroyEnvironmentBlock(pEnvironment);
if ( NULL != hUserEnvLib ) FreeLibrary( hUserEnvLib );
}
else if( flags & PROCESS_EXECUTE_FLAG_SESSION )