From: wessels <> Date: Wed, 16 Dec 1998 01:19:26 +0000 (+0000) Subject: forgot to call cbdataFree() on the peer!! X-Git-Tag: SQUID_3_0_PRE1~2461 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41042c81e70a7eb94423a4ec25e47e18127a8ba7;p=thirdparty%2Fsquid.git forgot to call cbdataFree() on the peer!! --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 34a2186125..90a656adf7 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,6 +1,6 @@ /* - * $Id: cache_cf.cc,v 1.314 1998/12/14 22:34:30 wessels Exp $ + * $Id: cache_cf.cc,v 1.315 1998/12/15 18:19:26 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -786,6 +786,7 @@ free_peer(peer ** P) while ((p = *P) != NULL) { *P = p->next; cbdataUnlock(p); + cbdataFree(p); } Config.npeers = 0; }