From 7cc8df67c31322df65ef3069f2e7c0e82856080c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Thu, 22 Apr 2021 21:06:16 +0200 Subject: [PATCH] mscoree: Initialize parsed_config_file private_path. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In case of error we may free uninitialized pointer otherwise. Signed-off-by: RĂ©mi Bernon Signed-off-by: Esme Povirk Signed-off-by: Alexandre Julliard --- 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)