mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-15 08:00:37 +01:00
libnm-glib: fix crash due to uninitalized pointer in get_permissions_reply()
If the D-Bus call failed with error, @permissions would stay uninitialized.
This commit is contained in:
parent
96b11af92d
commit
e0601d501a
1 changed files with 1 additions and 1 deletions
|
|
@ -336,7 +336,7 @@ get_permissions_reply (DBusGProxy *proxy,
|
|||
gpointer user_data)
|
||||
{
|
||||
NMClient *self = NM_CLIENT (user_data);
|
||||
GHashTable *permissions;
|
||||
GHashTable *permissions = NULL;
|
||||
GError *error = NULL;
|
||||
|
||||
dbus_g_proxy_end_call (proxy, call, &error,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue