diff options
| author | Chenthill Palanisamy <pchenthill@novell.com> | 2005-02-09 04:13:33 +0000 |
|---|---|---|
| committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-02-09 04:13:33 +0000 |
| commit | dfad2999ef375475addde76ff861d957f5be797f (patch) | |
| tree | 65946d5cd4057563b14adb770ddfc5763da70306 /servers/groupwise/e-gw-connection.c | |
| parent | 70ebc73ccf104037efc0de14709b65a631918a28 (diff) | |
| download | evolution-data-server-dfad2999ef375475addde76ff861d957f5be797f.tar.gz | |
Fixed some memory leaks.
2005-02-09 Chenthill Palanisamy <pchenthill@novell.com>
* e-gw-connection.c: (e_gw_connection_new):
* e-gw-item.c: (set_sendoptions_from_soap_parameter),
(e_gw_item_new_from_soap_parameter): Fixed some memory
leaks.
Diffstat (limited to 'servers/groupwise/e-gw-connection.c')
| -rw-r--r-- | servers/groupwise/e-gw-connection.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/servers/groupwise/e-gw-connection.c b/servers/groupwise/e-gw-connection.c index cea34ed90..e76139e1a 100644 --- a/servers/groupwise/e-gw-connection.c +++ b/servers/groupwise/e-gw-connection.c @@ -471,24 +471,24 @@ e_gw_connection_new (const char *uri, const char *username, const char *password if (param) { SoupSoapParameter *subparam; - const char *param_value; + char *param_value; subparam = soup_soap_parameter_get_first_child_by_name (param, "email"); if (subparam) { param_value = soup_soap_parameter_get_string_value (subparam); - cnc->priv->user_email = g_strdup (param_value); + cnc->priv->user_email = param_value; } subparam = soup_soap_parameter_get_first_child_by_name (param, "name"); if (subparam) { param_value = soup_soap_parameter_get_string_value (subparam); - cnc->priv->user_name = g_strdup (param_value); + cnc->priv->user_name = param_value; } subparam = soup_soap_parameter_get_first_child_by_name (param, "uuid"); if (subparam) { param_value = soup_soap_parameter_get_string_value (subparam); - cnc->priv->user_uuid = g_strdup (param_value); + cnc->priv->user_uuid = param_value; } } |
