2006-02-28 Robert Love <rml@novell.com>

* libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
	  src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
	  gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
	  deserializers are responsible for freeing the returned DBUS strings.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1515 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love 2006-02-28 19:48:25 +00:00 committed by Robert Love
parent 929b45c69f
commit 2fb731aa43
3 changed files with 17 additions and 4 deletions

View file

@ -1,7 +1,8 @@
2006-02-28 Robert Love <rml@novell.com>
* libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
src/nm-ap-security-wpa-psk.c: Fix FIXMEs: Callers of the DBUS
src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
deserializers are responsible for freeing the returned DBUS strings.
2006-02-27 Christopher Aillon <caillon@redhat.com>

View file

@ -87,7 +87,13 @@ nm_gconf_wso_wpa_eap_new_deserialize_dbus (DBusMessageIter *iter, int we_cipher)
security->priv->client_cert_file = g_strdup (client_cert_file);
security->priv->ca_cert_file = g_strdup (ca_cert_file);
/* FIXME: Need to free passwd, key_file, and cert_file ? */
dbus_free (identity);
dbus_free (passwd);
dbus_free (anon_identity);
dbus_free (private_key_passwd);
dbus_free (private_key_file);
dbus_free (client_cert_file);
dbus_free (ca_cert_file);
out:
return security;
@ -196,7 +202,13 @@ nm_gconf_wso_wpa_eap_new_deserialize_gconf (GConfClient *client, const char *net
security->priv->client_cert_file = g_strdup (client_cert_file);
security->priv->ca_cert_file = g_strdup (ca_cert_file);
/* FIXME: Need to free key_file and cert_file ? */
g_free (identity);
g_free (passwd);
g_free (anon_identity);
g_free (private_key_passwd);
g_free (private_key_file);
g_free (client_cert_file);
g_free (ca_cert_file);
out:
return security;

View file

@ -63,7 +63,7 @@ nm_gconf_wso_wpa_psk_new_deserialize_dbus (DBusMessageIter *iter, int we_cipher)
security->priv->wpa_version = wpa_version;
security->priv->key_mgt = key_mgt;
/* FIXME: Need to free 'key' ? */
dbus_free (key);
out:
return security;