aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-17 02:33:20 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-17 02:33:20 +0800
commitaa670b3306b486bd5800326d62c786e75fd2d2c7 (patch)
tree78312c21dbe3037ccc2e480d08d996ce15e63838 /mail/mail-format.c
parentf0d329f083305888573dff79f1f9634c3fd1e53a (diff)
downloadgsoc2013-evolution-aa670b3306b486bd5800326d62c786e75fd2d2c7.tar.gz
gsoc2013-evolution-aa670b3306b486bd5800326d62c786e75fd2d2c7.tar.zst
gsoc2013-evolution-aa670b3306b486bd5800326d62c786e75fd2d2c7.zip
Plug mem leaks.
svn path=/trunk/; revision=4854
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);