From 2b7d324bb31d0944df482959d55446b2e3fbd8e2 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 21 Feb 2006 05:43:06 +0000 Subject: [PATCH] Fix HttpReply leak due to failure to unlock in this class --- src/client_side_reply.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.47.3