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
This commit is contained in:
Federico Mena Quintero
2000-11-25 00:15:50 +00:00
committed by Federico Mena Quintero
parent 6dbbc8029f
commit 785dc9bc40
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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);