diff options
Diffstat (limited to 'shell/evolution-shell-component.c')
-rw-r--r-- | shell/evolution-shell-component.c | 4 |
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; } |