Index: ChangeLog
===================================================================
--- ChangeLog	(revision 1051)
+++ ChangeLog	(working copy)
@@ -1,3 +1,11 @@
+2008-01-25  Srinivasa Ragavan  <sragavan@novell.com>
+
+	** Fix for bug #511980
+
+	* libsoup/soup-message-headers.c: (soup_message_headers_clear):
+	Instead of destroying the hashtable, just remove the contents of the
+	table.
+
 2008-01-23  Tor Lillqvist  <tml@novell.com>
 
 	* configure.in: Allow autogening even without AM_PATH_LIBGCRYPT
Index: libsoup/soup-message-headers.c
===================================================================
--- libsoup/soup-message-headers.c	(revision 1051)
+++ libsoup/soup-message-headers.c	(working copy)
@@ -92,7 +92,7 @@ soup_message_headers_clear (SoupMessageH
 	g_array_set_size (hdrs->array, 0);
 
 	if (hdrs->concat)
-		g_hash_table_destroy (hdrs->concat);
+		g_hash_table_remove_all (hdrs->concat);
 
 	hdrs->encoding = -1;
 }
