From: wessels <> Date: Tue, 21 Feb 2006 05:43:06 +0000 (+0000) Subject: Fix HttpReply leak due to failure to unlock in this class X-Git-Tag: SQUID_3_0_PRE4~323 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b7d324bb31d0944df482959d55446b2e3fbd8e2;p=thirdparty%2Fsquid.git Fix HttpReply leak due to failure to unlock in this class --- diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index 11f8c5cc74..fca5efc6e6 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side_reply.cc,v 1.97 2006/02/18 00:23:43 wessels Exp $ + * $Id: client_side_reply.cc,v 1.98 2006/02/20 22:43:06 wessels Exp $ * * DEBUG: section 88 Client-side Reply Routines * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c) @@ -79,6 +79,7 @@ clientReplyContext::~clientReplyContext() removeStoreReference(&old_sc, &old_entry); safe_free(tempBuffer.data); cbdataReferenceDone(http); + HTTPMSGUNLOCK(reply); } clientReplyContext::clientReplyContext(ClientHttpRequest *clientContext) : http (cbdataReference(clientContext)), old_entry (NULL), old_sc(NULL), deleting(false)