projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3254965
)
libnm-glib: fix leak in get_permissions_reply()
author
Dan Williams
<dcbw@redhat.com>
Thu, 21 Jan 2016 17:35:00 +0000
(11:35 -0600)
committer
Dan Williams
<dcbw@redhat.com>
Thu, 21 Jan 2016 17:35:00 +0000
(11:35 -0600)
libnm-glib/nm-client.c
patch
|
blob
|
history
diff --git
a/libnm-glib/nm-client.c
b/libnm-glib/nm-client.c
index
248b9d9
..
9d1f907
100644
(file)
--- a/
libnm-glib/nm-client.c
+++ b/
libnm-glib/nm-client.c
@@
-344,6
+344,8
@@
get_permissions_reply (DBusGProxy *proxy,
G_TYPE_INVALID);
NM_CLIENT_GET_PRIVATE (self)->perm_call = NULL;
update_permissions (NM_CLIENT (user_data), error ? NULL : permissions);
+ if (permissions)
+ g_hash_table_destroy (permissions);
g_clear_error (&error);
}