diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-11-25 08:15:50 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-11-25 08:15:50 +0800 |
commit | 785dc9bc40091a73a8e967ed3000b138ea7da89c (patch) | |
tree | f5d07e988d66ecb35477efba23f29c4a21cc72f5 /shell | |
parent | 6dbbc8029fcde97f504d7850b36282c91b2a4dc6 (diff) | |
download | gsoc2013-evolution-785dc9bc40091a73a8e967ed3000b138ea7da89c.tar gsoc2013-evolution-785dc9bc40091a73a8e967ed3000b138ea7da89c.tar.gz gsoc2013-evolution-785dc9bc40091a73a8e967ed3000b138ea7da89c.tar.bz2 gsoc2013-evolution-785dc9bc40091a73a8e967ed3000b138ea7da89c.tar.lz gsoc2013-evolution-785dc9bc40091a73a8e967ed3000b138ea7da89c.tar.xz gsoc2013-evolution-785dc9bc40091a73a8e967ed3000b138ea7da89c.tar.zst gsoc2013-evolution-785dc9bc40091a73a8e967ed3000b138ea7da89c.zip |
Plug leak; mark the CORBA sequence so that it will be released.
2000-11-24 Federico Mena Quintero <federico@helixcode.com>
* evolution-shell-component.c
(impl_ShellComponent__get_supported_types): Plug leak; mark the
CORBA sequence so that it will be released.
svn path=/trunk/; revision=6662
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 6 | ||||
-rw-r--r-- | shell/evolution-shell-component.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index be8e9d5fe8..1ae0d163cb 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2000-11-24 Federico Mena Quintero <federico@helixcode.com> + + * evolution-shell-component.c + (impl_ShellComponent__get_supported_types): Plug leak; mark the + CORBA sequence so that it will be released. + 2000-11-14 Michael Meeks <michael@helixcode.com> * e-shell-view.c (unmerge_on_error): add diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index 790bbb7d3c..2febfc39b6 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -102,6 +102,7 @@ impl_ShellComponent__get_supported_types (PortableServer_Servant servant, priv = shell_component->priv; folder_type_list = GNOME_Evolution_FolderTypeList__alloc (); + CORBA_sequence_set_release (folder_type_list, TRUE); folder_type_list->_length = g_list_length (priv->folder_types); folder_type_list->_maximum = folder_type_list->_length; folder_type_list->_buffer = CORBA_sequence_GNOME_Evolution_FolderType_allocbuf (folder_type_list->_maximum); |