aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-config-offline.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-06-01 04:38:09 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-06-01 04:38:09 +0800
commitc0836df7ef28cff8195ba4592b9a02e82436df3b (patch)
tree8ba086aa67d9a18de7da0c43ff55b679b8978740 /shell/e-shell-config-offline.c
parent4b63089bda38776bf4aa20dc97e6db41823a061c (diff)
downloadgsoc2013-evolution-c0836df7ef28cff8195ba4592b9a02e82436df3b.tar.gz
gsoc2013-evolution-c0836df7ef28cff8195ba4592b9a02e82436df3b.tar.zst
gsoc2013-evolution-c0836df7ef28cff8195ba4592b9a02e82436df3b.zip
Set release for the CORBA path sequence to TRUE.
* evolution-storage-set-view.c (impl_StorageSetView__get_checkedFolders): Set release for the CORBA path sequence to TRUE. * evolution-shell-component.c (fill_corba_sequence_from_null_terminated_string_array): Set release for the CORBA sequence to TRUE so it gets freed properly. (impl__get_externalUriSchemas): Likewise for the returned uri_chema_list. * e-shell-offline-handler.c (duplicate_connection_list): Set release for the connection sequence to TRUE. * e-shell-config-offline.c (config_control_apply_callback): Set release for the path sequence to TRUE. * e-corba-storage-registry.c (impl_StorageRegistry_getStorageList): Set release for the storage sequence to TRUE. * evolution-storage.c (impl_Storage__get_folderList): Set release for the folder sequence to TRUE. svn path=/trunk/; revision=17062
Diffstat (limited to 'shell/e-shell-config-offline.c')
-rw-r--r--shell/e-shell-config-offline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-shell-config-offline.c b/shell/e-shell-config-offline.c
index 79993365ea..d586293742 100644
--- a/shell/e-shell-config-offline.c
+++ b/shell/e-shell-config-offline.c
@@ -80,6 +80,8 @@ config_control_apply_callback (EvolutionConfigControl *config_control,
paths->_maximum = paths->_length = g_list_length (checked_paths);
paths->_buffer = CORBA_sequence_CORBA_string_allocbuf (paths->_maximum);
+ CORBA_sequence_set_release (paths, TRUE);
+
for (p = checked_paths, i = 0; p != NULL; p = p->next, i ++)
paths->_buffer[i] = CORBA_string_dup ((const char *) p->data);