Merge branch '1637-win32-uninitialised-variable' into 'master'

gwin32appinfo: Fix a potential free of an uninitialised variable

Closes #1637

See merge request GNOME/glib!573
This commit is contained in:
Philip Withnall 2019-01-07 11:04:22 +00:00
commit eeb657bb0f

View File

@ -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;