diff options
author | Milan Crha <mcrha@redhat.com> | 2014-04-04 21:37:13 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-04-04 21:37:13 +0800 |
commit | 4e9f3b3ffb86d56a16194ed3f7fca7e190df5838 (patch) | |
tree | a81ced626c38f4128ca82e900e3554aa3b46c75c /mail | |
parent | 0aad073202331606a94d74dabd8a6beb72253a4a (diff) | |
download | gsoc2013-evolution-4e9f3b3ffb86d56a16194ed3f7fca7e190df5838.tar gsoc2013-evolution-4e9f3b3ffb86d56a16194ed3f7fca7e190df5838.tar.gz gsoc2013-evolution-4e9f3b3ffb86d56a16194ed3f7fca7e190df5838.tar.bz2 gsoc2013-evolution-4e9f3b3ffb86d56a16194ed3f7fca7e190df5838.tar.lz gsoc2013-evolution-4e9f3b3ffb86d56a16194ed3f7fca7e190df5838.tar.xz gsoc2013-evolution-4e9f3b3ffb86d56a16194ed3f7fca7e190df5838.tar.zst gsoc2013-evolution-4e9f3b3ffb86d56a16194ed3f7fca7e190df5838.zip |
Fix few more memory leaks
Diffstat (limited to 'mail')
-rw-r--r-- | mail/em-folder-tree.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index fef68109bc..5b5a3b9cc4 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -3205,6 +3205,8 @@ em_folder_tree_select_next_path (EMFolderTree *folder_tree, /* TODO : Flags here for better options */ } while (skip_read_folders && unread <=0 && gtk_tree_path_compare (current_path, path)); + + gtk_tree_path_free (current_path); } if (path) { @@ -3218,6 +3220,8 @@ em_folder_tree_select_next_path (EMFolderTree *folder_tree, priv->cursor_set = TRUE; } gtk_tree_view_scroll_to_cell (tree_view, path, NULL, TRUE, 0.5f, 0.0f); + + gtk_tree_path_free (path); } return; |