aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index f9739b911e..a73d2faf89 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -216,7 +216,8 @@ get_url_for_icon (const char *icon_name, MailDisplay *md)
}
close (fd);
- g_hash_table_insert (icons, icon_path, ba);
+ /* FIXME: these aren't freed. */
+ g_hash_table_insert (icons, g_strdup (icon_path), ba);
}
g_free (icon_path);