From: hno <> Date: Fri, 18 Mar 2005 21:41:21 +0000 (+0000) Subject: Bugfix from ssl-2.5 2004/07/14 23:24:32 X-Git-Tag: SQUID_3_0_PRE4~846 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=556fb4a3fcb817c23d0e360eab209611a60e8e85;p=thirdparty%2Fsquid.git Bugfix from ssl-2.5 2004/07/14 23:24:32 Fix filedescriptor leak on SSL_new allocation error --- diff --git a/src/client_side.cc b/src/client_side.cc index f6435f3be7..146fb5b65e 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.681 2005/03/06 21:08:13 serassio Exp $ + * $Id: client_side.cc,v 1.682 2005/03/18 14:41:21 hno Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -2974,6 +2974,7 @@ httpsAccept(int sock, int newfd, ConnectionDetail *details, ssl_error = ERR_get_error(); debug(83, 1) ("httpsAccept: Error allocating handle: %s\n", ERR_error_string(ssl_error, NULL)); + comm_close(newfd); return; }