Commit 091f33e8 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

ntdll: Fix a memory leak on an error path (Smatch).

parent 4d413296
......@@ -170,7 +170,7 @@ static NTSTATUS init_user_process_params( SIZE_T data_size, HANDLE *exe_file )
}
}
SERVER_END_REQ;
if (status != STATUS_SUCCESS) return status;
if (status != STATUS_SUCCESS) goto done;
size = sizeof(*params);
size += MAX_NT_PATH_LENGTH * sizeof(WCHAR);
......
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