Commit 7cc8df67 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

mscoree: Initialize parsed_config_file private_path.

In case of error we may free uninitialized pointer otherwise. Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarEsme Povirk <esme@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 1e975777
......@@ -617,6 +617,7 @@ static const struct ISAXErrorHandlerVtbl ConfigFileHandlerErrorVtbl =
static void init_config(parsed_config_file *config)
{
list_init(&config->supported_runtimes);
config->private_path = NULL;
}
static HRESULT parse_config(VARIANT input, parsed_config_file *result)
......
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