summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2021-08-02 14:36:40 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2021-08-02 14:36:40 +0000
commit921e1f2b8b8bdc7295b9c92eb65f3e36d7d85f42 (patch)
treecb197f2d6a5738ae749c1cb10066a9febbcdffb9
parent92bdc92d6dcebdd2bff25f29ecfa8be5814fb9c7 (diff)
parentae5e016edc641129ccf20130e6b484ce2ec333c0 (diff)
downloadglib-921e1f2b8b8bdc7295b9c92eb65f3e36d7d85f42.tar.gz
Merge branch 'appinfo-pointer-init' into 'main'
GWin32AppInfo: Fix missing initialization See merge request GNOME/glib!2210
-rw-r--r--gio/gwin32appinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/gwin32appinfo.c b/gio/gwin32appinfo.c
index 4074f402c..3468dfee0 100644
--- a/gio/gwin32appinfo.c
+++ b/gio/gwin32appinfo.c
@@ -1629,6 +1629,7 @@ process_uwp_verbs (GList *verbs,
continue;
}
+ acid = NULL;
got_value = g_win32_registry_key_get_value_w (key,
g_win32_registry_get_os_dirs_w (),
TRUE,
@@ -3634,6 +3635,7 @@ grab_registry_string (GWin32RegistryKey *handler_appkey,
if (*destination != NULL)
return;
+ value = NULL;
if (g_win32_registry_key_get_value_w (handler_appkey,
NULL,
TRUE,