Commit 655ab7a8 authored by Chao Long's avatar Chao Long Committed by Alexandre Julliard

ntdll: Fix a ImagePathName memory leak (Valgrind).

parent 93937a53
......@@ -1250,6 +1250,7 @@ void init_user_process_params(void)
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