aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/mail/e-mail-shell-sidebar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-sidebar.c b/modules/mail/e-mail-shell-sidebar.c
index 857a0d6e0f..2c2cdfb4d5 100644
--- a/modules/mail/e-mail-shell-sidebar.c
+++ b/modules/mail/e-mail-shell-sidebar.c
@@ -73,6 +73,8 @@ mail_shell_sidebar_selection_changed_cb (EShellSidebar *shell_sidebar,
if (is_folder)
icon_name = em_folder_utils_get_icon_name (flags);
else {
+ g_free (display_name);
+
icon_name = shell_view_class->icon_name;
display_name = g_strdup (shell_view_class->label);
}