--------------------- PatchSet 2235 Date: 2001/05/08 00:22:19 Author: rbcollins Branch: newhttp Tag: (none) Log: refcounted iobuffers fix Members: src/iobuf.c:1.1.2.1->1.1.2.2 Index: squid/src/iobuf.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/Attic/iobuf.c,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- squid/src/iobuf.c 7 May 2001 22:00:46 -0000 1.1.2.1 +++ squid/src/iobuf.c 8 May 2001 00:22:19 -0000 1.1.2.2 @@ -1,5 +1,5 @@ /* - * $Id: iobuf.c,v 1.1.2.1 2001/05/07 22:00:46 rbcollins Exp $ + * $Id: iobuf.c,v 1.1.2.2 2001/05/08 00:22:19 rbcollins Exp $ * * DEBUG: section 11 IO Buffers * AUTHOR: Harvest Derived @@ -63,8 +63,8 @@ iobuf *buf; /* TODO init all types, set a static variable to inited, never do again */ - CBDATA_INIT_TYPE_FREECB(iobuf, ioBufferFree); - CBDATA_INIT_TYPE(buf4k); + CBDATA_INIT_TYPE_FREECB_ONUNLOCK(iobuf, ioBufferFree); + CBDATA_INIT_TYPE_FREECB_ONUNLOCK(buf4k, NULL); buf=cbdataAlloc(iobuf); assert(buf);