[glib/glib-2-58: 1/2] gwin32appinfo: Fix a potential free of an uninitialised variable
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-58: 1/2] gwin32appinfo: Fix a potential free of an uninitialised variable
- Date: Tue, 15 Jan 2019 17:07:54 +0000 (UTC)
commit b9849711c4377255f47c79a69c37c3692d8d8603
Author: Philip Withnall <withnall endlessm com>
Date: Mon Jan 7 10:25:46 2019 +0000
gwin32appinfo: Fix a potential free of an uninitialised variable
Signed-off-by: Philip Withnall <withnall endlessm com>
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]