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:
parent
1e9757778c
commit
7cc8df67c3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue