mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 00:38:07 +02: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. Fixes:f2399a6976Fixes:808f012603(cherry picked from commite0601d501a)
This commit is contained in:
parent
808f012603
commit
1deae2a284
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,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