ntdll: Fix a string leak in init_user_process_params (Valgrind).

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Sven Baars 2020-04-18 22:06:47 +02:00 committed by Alexandre Julliard
parent a202ecd457
commit 9ce4383128
1 changed files with 1 additions and 0 deletions

View File

@ -1471,6 +1471,7 @@ void init_user_process_params( SIZE_T data_size )
params->Environment = env;
NtCurrentTeb()->Peb->ProcessParameters = params;
RtlFreeUnicodeString( &initial_params.ImagePathName );
RtlFreeUnicodeString( &cmdline );
RtlReleasePath( load_path );