forked from Mirrors/wine-wine
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
parent
a202ecd457
commit
9ce4383128
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue