]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Sat, 25 Mar 2000 12:00:11 +0000 (12:00 +0000)
committerwessels <>
Sat, 25 Mar 2000 12:00:11 +0000 (12:00 +0000)
 - Destroy 'rep' headers *after* logging!

src/client_side.cc

index effce9f334c948eb112f55da694aa7a803e81f99..8ae5dd1c34b7386c7a601f3c29e26f4edb78c79c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.472 2000/03/25 04:58:39 wessels Exp $
+ * $Id: client_side.cc,v 1.473 2000/03/25 05:00:11 wessels Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -1698,10 +1698,10 @@ clientSendMoreData(void *data, char *buf, ssize_t size)
        mb = httpReplyPack(rep);
        http->out.offset += rep->hdr_sz;
        check_size += rep->hdr_sz;
-       httpReplyDestroy(rep);
 #if HEADERS_LOG
        headersLog(0, 0, http->request->method, rep);
 #endif
+       httpReplyDestroy(rep);
        rep = NULL;
     } else {
        memBufDefInit(&mb);