From: wessels <> Date: Sat, 25 Mar 2000 12:00:11 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~2049 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e060348b0ecea53ec833a2ae743b9697c303bb3;p=thirdparty%2Fsquid.git DW: - Destroy 'rep' headers *after* logging! --- diff --git a/src/client_side.cc b/src/client_side.cc index effce9f334..8ae5dd1c34 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -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);