Commit 9ce43831 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

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

parent a202ecd4
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment