Skip to content
Snippets Groups Projects
Commit 655ab7a8 authored by Chao Long's avatar Chao Long Committed by Alexandre Julliard
Browse files

ntdll: Fix a ImagePathName memory leak (Valgrind).

parent 93937a53
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment