In case of error we may free uninitialized pointer otherwise.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com ---
The free happens in free_parsed_config_file, which is called unconditionnally after parse_config_file / parsed_config_stream.
dlls/mscoree/config.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mscoree/config.c b/dlls/mscoree/config.c index 38f304f3df8..b6aa647d876 100644 --- a/dlls/mscoree/config.c +++ b/dlls/mscoree/config.c @@ -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)