From 29e8f5795d65796a29876a792342ad9ee9361bea Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 7 Jan 2019 10:25:46 +0000 Subject: [PATCH] gwin32appinfo: Fix a potential free of an uninitialised variable Signed-off-by: Philip Withnall Closes: #1637 --- gio/gwin32appinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gwin32appinfo.c b/gio/gwin32appinfo.c index 499bbb351..9f335b370 100644 --- a/gio/gwin32appinfo.c +++ b/gio/gwin32appinfo.c @@ -1426,7 +1426,7 @@ collect_capable_apps_from_clients (GPtrArray *capable_apps, GWin32RegistrySubkeyIter subkey_iter; GWin32RegistryKey *system_client_type; GWin32RegistryValueType default_type; - gunichar2 *default_value; + gunichar2 *default_value = NULL; gunichar2 *client_name; gsize client_name_len;