diff options
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-mime-part.c | 5 |
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); } |