From a4256940da049f91bbbea5e53e469a59ea9c10f7 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Fri, 25 Oct 2013 21:20:58 +0200 Subject: Imported Upstream version 0.9.8.8 --- libnm-util/nm-setting-connection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libnm-util/nm-setting-connection.c') diff --git a/libnm-util/nm-setting-connection.c b/libnm-util/nm-setting-connection.c index d4de1253..4d990643 100644 --- a/libnm-util/nm-setting-connection.c +++ b/libnm-util/nm-setting-connection.c @@ -276,7 +276,7 @@ nm_setting_connection_get_num_permissions (NMSettingConnection *setting) * @out_ptype: on return, the permission type (at this time, always "user") * @out_pitem: on return, the permission item (formatted accoring to @ptype, see * #NMSettingConnection:permissions for more detail - * @out_detail: on return, the permission detail (at this time, always NULL) + * @out_detail: on return, the permission detail (at this time, always %NULL) * * Retrieve one of the entries of the #NMSettingConnection:permissions property * of this setting. @@ -773,6 +773,7 @@ finalize (GObject *object) g_free (priv->master); g_free (priv->slave_type); nm_utils_slist_free (priv->permissions, (GDestroyNotify) permission_free); + nm_utils_slist_free (priv->secondaries, g_free); G_OBJECT_CLASS (nm_setting_connection_parent_class)->finalize (object); } -- cgit 1.3.0-6-gf8a5