The unified diff between revisions [cf48f9a1..] and [812a98e1..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/htcp.c'

#
#
# patch "src/htcp.c"
#  from [97c792f6669a6be08a8f04689305aeac8e50cb31]
#    to [65577c9527724355c34983ac3658713dc6dc28fe]
#
============================================================
--- src/htcp.c	97c792f6669a6be08a8f04689305aeac8e50cb31
+++ src/htcp.c	65577c9527724355c34983ac3658713dc6dc28fe
@@ -1,6 +1,6 @@

 /*
- * $Id: htcp.c,v 1.38.2.6 2005/03/26 02:50:53 hno Exp $
+ * $Id: htcp.c,v 1.38.2.7 2006/05/12 15:58:50 hno Exp $
  *
  * DEBUG: section 31    Hypertext Caching Protocol
  * AUTHOR: Duane Wesssels
@@ -598,6 +598,9 @@ htcpTstReply(htcpDataHeader * dhdr, Stor
 	packerClean(&p);
     }
     pkt = htcpBuildPacket(&stuff, &pktlen);
+    safe_free(stuff.D.resp_hdrs);
+    safe_free(stuff.D.entity_hdrs);
+    safe_free(stuff.D.cache_hdrs);
     if (pkt == NULL) {
 	debug(31, 0) ("htcpTstReply: htcpBuildPacket() failed\n");
 	return;