aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-folder-type-repository.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-folder-type-repository.c')
-rw-r--r--shell/e-folder-type-repository.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-folder-type-repository.c b/shell/e-folder-type-repository.c
index 3170f3173e..a1892657de 100644
--- a/shell/e-folder-type-repository.c
+++ b/shell/e-folder-type-repository.c
@@ -89,6 +89,8 @@ folder_type_new (const char *name,
else
new->icon_pixbuf = gdk_pixbuf_new_from_file (icon_path);
+ g_free (icon_path);
+
icon_path = e_shell_get_icon_path (icon_name, TRUE);
if (icon_path != NULL) {
new->mini_icon_pixbuf = gdk_pixbuf_new_from_file (icon_path);