aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2010-08-24 08:15:25 +0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-24 08:15:25 +0800
commit480b9e1720ae411c930c411e5b014ce9357d368c (patch)
treef46b9f720f0855ca01bd7f63a53508f1edbd4878
parent7a2e06e76f9465a326803adac4abe95d0e6d18e1 (diff)
downloadgsoc2013-evolution-480b9e1720ae411c930c411e5b014ce9357d368c.tar
gsoc2013-evolution-480b9e1720ae411c930c411e5b014ce9357d368c.tar.gz
gsoc2013-evolution-480b9e1720ae411c930c411e5b014ce9357d368c.tar.bz2
gsoc2013-evolution-480b9e1720ae411c930c411e5b014ce9357d368c.tar.lz
gsoc2013-evolution-480b9e1720ae411c930c411e5b014ce9357d368c.tar.xz
gsoc2013-evolution-480b9e1720ae411c930c411e5b014ce9357d368c.tar.zst
gsoc2013-evolution-480b9e1720ae411c930c411e5b014ce9357d368c.zip
Bug 627611 - Memory leak in efh_format_header()
-rw-r--r--mail/em-format-html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index d8f4869577..fb0bc0a567 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -2456,7 +2456,7 @@ efh_format_header(EMFormat *emf, CamelStream *stream, CamelMedium *part, struct
g_free (img);
}
- camel_header_address_unref(addrs);
+ camel_header_address_list_clear(&addrs);
txt = value = html->str;
g_string_free(html, FALSE);
@@ -2607,7 +2607,7 @@ efh_format_headers(EMFormatHTML *efh, CamelStream *stream, CamelMedium *part)
name = efh_format_address(efh, html, addrs, header->name);
header_sender = html->str;
- camel_header_address_unref(addrs);
+ camel_header_address_list_clear(&addrs);
g_string_free(html, FALSE);
g_free (name);
@@ -2622,7 +2622,7 @@ efh_format_headers(EMFormatHTML *efh, CamelStream *stream, CamelMedium *part)
name = efh_format_address(efh, html, addrs, header->name);
header_from = html->str;
- camel_header_address_unref(addrs);
+ camel_header_address_list_clear(&addrs);
g_string_free(html, FALSE);
g_free(name);