From: wessels <> Date: Wed, 16 Dec 1998 01:22:40 +0000 (+0000) Subject: sigh, we don't really need to lock/unlock peer here X-Git-Tag: SQUID_3_0_PRE1~2460 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4011d7a2f5c20420ee7813cffd05f75510fb1ea9;p=thirdparty%2Fsquid.git sigh, we don't really need to lock/unlock peer here --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 90a656adf7..12f363a43c 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,6 +1,6 @@ /* - * $Id: cache_cf.cc,v 1.315 1998/12/15 18:19:26 wessels Exp $ + * $Id: cache_cf.cc,v 1.316 1998/12/15 18:22:40 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -775,7 +775,6 @@ parse_peer(peer ** head) while (*head != NULL) head = &(*head)->next; *head = p; - cbdataLock(p); Config.npeers++; } @@ -785,7 +784,6 @@ free_peer(peer ** P) peer *p; while ((p = *P) != NULL) { *P = p->next; - cbdataUnlock(p); cbdataFree(p); } Config.npeers = 0;