diff options
| author | Sankar P <psankar@novell.com> | 2008-08-08 06:51:31 +0000 |
|---|---|---|
| committer | Sankarasivasubramanian Pasupathilingam <psankar@src.gnome.org> | 2008-08-08 06:51:31 +0000 |
| commit | fdbdf2deb56d3612b192b1ee11bad7da0f9bb233 (patch) | |
| tree | 6bb18dc4b40e1a84623a41c0b6167422ece1c58a | |
| parent | 9bf732f8f310e6fc2b401f4261df4d3c027b5384 (diff) | |
| download | evolution-data-server-fdbdf2deb56d3612b192b1ee11bad7da0f9bb233.tar.gz | |
Fix a leak. Part of bgo #523103
2008-08-08 Sankar P <psankar@novell.com>
* camel-groupwise-store.c (groupwise_folders_sync):
Fix a leak. Part of bgo #523103
svn path=/trunk/; revision=9299
| -rw-r--r-- | camel/providers/groupwise/ChangeLog | 5 | ||||
| -rw-r--r-- | camel/providers/groupwise/camel-groupwise-store.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/camel/providers/groupwise/ChangeLog b/camel/providers/groupwise/ChangeLog index 30408293e..753004918 100644 --- a/camel/providers/groupwise/ChangeLog +++ b/camel/providers/groupwise/ChangeLog @@ -1,3 +1,8 @@ +2008-08-08 Sankar P <psankar@novell.com> + + * camel-groupwise-store.c (groupwise_folders_sync): + Fix a leak. Part of bgo #523103 + 2008-08-06 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #545877 diff --git a/camel/providers/groupwise/camel-groupwise-store.c b/camel/providers/groupwise/camel-groupwise-store.c index ddc7d482d..9eedaf40e 100644 --- a/camel/providers/groupwise/camel-groupwise-store.c +++ b/camel/providers/groupwise/camel-groupwise-store.c @@ -936,6 +936,8 @@ groupwise_folders_sync (CamelGroupwiseStore *store, CamelException *ex) parent = e_gw_container_get_parent_id (E_GW_CONTAINER(temp_list->data)); if (e_gw_container_is_root (E_GW_CONTAINER(temp_list->data))) { + if (store->root_container) + g_free (store->root_container); store->root_container = g_strdup (id); continue; } |
