diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-10-16 22:45:04 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-10-16 22:45:04 +0800 |
commit | bb64d5dd741646b4e19c488c437b77297798237d (patch) | |
tree | cd87f6c751c369cefeb3977723f9cbaeb210f602 /mail | |
parent | 85de4c714e534cb6f7d497fe07b762fdde98468a (diff) | |
download | gsoc2013-evolution-bb64d5dd741646b4e19c488c437b77297798237d.tar.gz gsoc2013-evolution-bb64d5dd741646b4e19c488c437b77297798237d.tar.zst gsoc2013-evolution-bb64d5dd741646b4e19c488c437b77297798237d.zip |
Fixes #360815
svn path=/trunk/; revision=32897
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-component.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index a9679f6c0b..9512726bbb 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2006-10-16 Chris Heath <chris@heathens.co.nz> + + * mail-component.c (create_local_item_cb): Fix memory leak. + Fixes bug #360815. + 2005-10-16 Sankar P <psankar@novell.com> * mail-ops.c: (em_filter_folder_element_describe) 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 |