diff options
author | Milan Crha <mcrha@redhat.com> | 2012-06-28 02:17:28 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-06-28 02:17:28 +0800 |
commit | e5eb699ce36f57891cbe255a8f4054ab6fc6acbd (patch) | |
tree | 97626e7202a38ecb8dfdcffd069ac59ab5eaa227 /modules | |
parent | 9cdae1a4cc9b5c0879c61eeee351036540fc473c (diff) | |
download | gsoc2013-evolution-e5eb699ce36f57891cbe255a8f4054ab6fc6acbd.tar gsoc2013-evolution-e5eb699ce36f57891cbe255a8f4054ab6fc6acbd.tar.gz gsoc2013-evolution-e5eb699ce36f57891cbe255a8f4054ab6fc6acbd.tar.bz2 gsoc2013-evolution-e5eb699ce36f57891cbe255a8f4054ab6fc6acbd.tar.lz gsoc2013-evolution-e5eb699ce36f57891cbe255a8f4054ab6fc6acbd.tar.xz gsoc2013-evolution-e5eb699ce36f57891cbe255a8f4054ab6fc6acbd.tar.zst gsoc2013-evolution-e5eb699ce36f57891cbe255a8f4054ab6fc6acbd.zip |
Fix few memory leaks
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mail/e-mail-shell-sidebar.c | 2 |
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); } |