diff options
| author | Harish Krishnaswamy <kharish@novell.com> | 2006-12-06 06:28:37 +0000 |
|---|---|---|
| committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2006-12-06 06:28:37 +0000 |
| commit | 60c6193fecb214b7707f3c5d6f0dce2337a41e15 (patch) | |
| tree | 80402ec6b0b37fd932f387c407f0fbc42bd24c1e /servers | |
| parent | 0da64b13772f262f6c46d80ee79d8d144336b7a1 (diff) | |
| download | evolution-data-server-60c6193fecb214b7707f3c5d6f0dce2337a41e15.tar.gz | |
: Fix leaking of the EShUsers structure.
2006-12-06 Harish Krishnaswamy <kharish@novell.com>
* e-gw-container.c: (free_node) : Fix leaking of
the EShUsers structure.
(e_gw_container_set_from_soap_parameter): Remove a redundant
g_strdup and g_free pair.
Diffstat (limited to 'servers')
| -rw-r--r-- | servers/groupwise/ChangeLog | 7 | ||||
| -rw-r--r-- | servers/groupwise/e-gw-container.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/servers/groupwise/ChangeLog b/servers/groupwise/ChangeLog index 3a7dbbb31..8f8abe918 100644 --- a/servers/groupwise/ChangeLog +++ b/servers/groupwise/ChangeLog @@ -1,3 +1,10 @@ +2006-12-06 Harish Krishnaswamy <kharish@novell.com> + + * e-gw-container.c: (free_node) : Fix leaking of + the EShUsers structure. + (e_gw_container_set_from_soap_parameter): Remove a redundant + g_strdup and g_free pair. + 2006-12-04 Harish Krishnaswamy <kharish@novell.com> * e-gw-connection.c: (e_gw_connection_dispose):Remove diff --git a/servers/groupwise/e-gw-container.c b/servers/groupwise/e-gw-container.c index db993c98c..d54216831 100644 --- a/servers/groupwise/e-gw-container.c +++ b/servers/groupwise/e-gw-container.c @@ -62,6 +62,7 @@ free_node(EShUsers *user) g_free(user->email); user->email = NULL; } + g_free (user); return ; } @@ -339,8 +340,7 @@ e_gw_container_set_from_soap_parameter (EGwContainer *container, SoupSoapParamet } else { value = soup_soap_parameter_get_string_value (email_rt_subparam); if (value) { - user->email = g_strdup (value); - g_free (value); + user->email = value; } /* Retrieve Rights*/ email_rt_subparam = soup_soap_parameter_get_first_child_by_name (entry_subparam, "rights"); |
