aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-30 13:23:59 +0800
committerDan Winship <danw@src.gnome.org>2001-10-30 13:23:59 +0800
commitac2ffbc8e371424999b80e22304b3c1f77ebfe6b (patch)
tree6ab9aa4b9f74e8c80a7859dc5f1d977979e2e42f
parent41dea671f83b9e5914b91cb5f57e8a2268898b52 (diff)
downloadgsoc2013-evolution-ac2ffbc8e371424999b80e22304b3c1f77ebfe6b.tar.gz
gsoc2013-evolution-ac2ffbc8e371424999b80e22304b3c1f77ebfe6b.tar.zst
gsoc2013-evolution-ac2ffbc8e371424999b80e22304b3c1f77ebfe6b.zip
Fix this to match get_headers.
* camel-mime-part.c (free_headers): Fix this to match get_headers. svn path=/trunk/; revision=14432
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-mime-part.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index c13997d54e..62893549b4 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-30 Dan Winship <danw@ximian.com>
+
+ * camel-mime-part.c (free_headers): Fix this to match get_headers.
+
2001-10-30 <NotZed@Ximian.com>
* providers/local/camel-local-store.c (rename_folder): Dont try to
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index 637973a6e6..55eb4a7492 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -314,11 +314,6 @@ get_headers (CamelMedium *medium)
static void
free_headers (CamelMedium *medium, GArray *gheaders)
{
- CamelMediumHeader *headers = (CamelMediumHeader *)gheaders->data;
- int i;
-
- for (i = 0; i < gheaders->len; i++)
- g_free ((gpointer)headers[i].value);
g_array_free (gheaders, TRUE);
}