Commit 8c351c10 authored by Milan Crha's avatar Milan Crha
Browse files

Do not leak memory on each mail folder change

parent b0e9be5c
......@@ -115,6 +115,7 @@ mail_shell_view_folder_tree_selected_cb (EMailShellView *mail_shell_view,
/* Cancel any unfinished open folder operations. */
if (mail_shell_view->priv->opening_folder != NULL) {
g_cancellable_cancel (mail_shell_view->priv->opening_folder);
g_object_unref (mail_shell_view->priv->opening_folder);
mail_shell_view->priv->opening_folder = NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment