aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component.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/evolution-shell-component.c
parent4b63089bda38776bf4aa20dc97e6db41823a061c (diff)
downloadgsoc2013-evolution-c0836df7ef28cff8195ba4592b9a02e82436df3b.tar
gsoc2013-evolution-c0836df7ef28cff8195ba4592b9a02e82436df3b.tar.gz
gsoc2013-evolution-c0836df7ef28cff8195ba4592b9a02e82436df3b.tar.bz2
gsoc2013-evolution-c0836df7ef28cff8195ba4592b9a02e82436df3b.tar.lz
gsoc2013-evolution-c0836df7ef28cff8195ba4592b9a02e82436df3b.tar.xz
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/evolution-shell-component.c')
-rw-r--r--shell/evolution-shell-component.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c
index b3383b742f..d03d3ae185 100644
--- a/shell/evolution-shell-component.c
+++ b/shell/evolution-shell-component.c
@@ -181,6 +181,8 @@ fill_corba_sequence_from_null_terminated_string_array (CORBA_sequence_CORBA_stri
for (i = 0; i < count; i++)
corba_sequence->_buffer[i] = CORBA_string_dup (array[i]);
+
+ CORBA_sequence_set_release (corba_sequence, TRUE);
}
@@ -330,6 +332,8 @@ impl__get_externalUriSchemas (PortableServer_Servant servant,
uri_schema_list->_buffer[i] = CORBA_string_dup (schema);
}
+ CORBA_sequence_set_release (uri_schema_list, TRUE);
+
return uri_schema_list;
}