From bb64d5dd741646b4e19c488c437b77297798237d Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Mon, 16 Oct 2006 14:45:04 +0000 Subject: Fixes #360815 svn path=/trunk/; revision=32897 --- mail/mail-component.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mail/mail-component.c') diff --git a/mail/mail-component.c b/mail/mail-component.c index c9093b61fe..73272798c2 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -876,8 +876,10 @@ static void create_local_item_cb(EUserCreatableItemsHandler *handler, const char *item_type_name, void *data) { EMFolderTree *tree = data; + char *uri = em_folder_tree_get_selected_uri(tree); - create_item(item_type_name, em_folder_tree_get_model(tree), em_folder_tree_get_selected_uri(tree)); + create_item(item_type_name, em_folder_tree_get_model(tree), uri); + g_free(uri); } static void -- cgit