mscoree: Initialize parsed_config_file private_path.

In case of error we may free uninitialized pointer otherwise.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2021-04-22 21:06:16 +02:00 committed by Alexandre Julliard
parent 1e9757778c
commit 7cc8df67c3

View file

@ -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)