free the folder_type

* e-shell-user-creatable-items-handler.c (free_menu_items): free
	the folder_type

	* e-splash.c (e_splash_new): Unref the pixbuf.

	* evolution-shell-component.c (impl_finalize): Add some missing
	frees.
	(user_creatable_item_type_free): free the tooltip

svn path=/trunk/; revision=21859
This commit is contained in:
Dan Winship
2003-07-17 17:09:38 +00:00
parent 9bcb908ca5
commit 1016194c44
4 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,14 @@
2003-07-01 Dan Winship <danw@ximian.com>
* e-shell-user-creatable-items-handler.c (free_menu_items): free
the folder_type
* e-splash.c (e_splash_new): Unref the pixbuf.
* evolution-shell-component.c (impl_finalize): Add some missing
frees.
(user_creatable_item_type_free): free the tooltip
2003-07-09 Ettore Perazzoli <ettore@ximian.com>
* e-shell-folder-commands.c (e_shell_command_rename_folder): Do

View File

@ -251,6 +251,7 @@ free_menu_items (GSList *menu_items)
g_object_unref (item->icon);
g_free (item->component_id);
g_free (item->folder_type);
g_free (item);
}

View File

@ -379,7 +379,7 @@ e_splash_new (void)
new = g_object_new (e_splash_get_type (), NULL);
e_splash_construct (new, splash_image_pixbuf);
/* g_object_unref (splash_image_pixbuf); */
g_object_unref (splash_image_pixbuf);
return GTK_WIDGET (new);
}

View File

@ -136,6 +136,7 @@ user_creatable_item_type_free (UserCreatableItemType *type)
g_free (type->id);
g_free (type->description);
g_free (type->menu_description);
g_free (type->tooltip);
g_free (type->folder_type);
if (type->icon != NULL)
@ -820,6 +821,8 @@ impl_finalize (GObject *object)
g_free (folder_type->name);
g_free (folder_type->icon_name);
g_free (folder_type->display_name);
g_free (folder_type->description);
g_strfreev (folder_type->exported_dnd_types);
g_strfreev (folder_type->accepted_dnd_types);