--------------------- PatchSet 1457 Date: 2005/06/16 10:17:29 Author: rmartinez Branch: squid3-ipv6 Tag: (none) Log: Syncrhonizing file Members: src/cbdata.cc:1.15->1.15.6.1 Index: squid3/src/cbdata.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/cbdata.cc,v retrieving revision 1.15 retrieving revision 1.15.6.1 diff -u -r1.15 -r1.15.6.1 --- squid3/src/cbdata.cc 31 Aug 2004 02:14:27 -0000 1.15 +++ squid3/src/cbdata.cc 16 Jun 2005 10:17:29 -0000 1.15.6.1 @@ -1,6 +1,6 @@ /* - * $Id: cbdata.cc,v 1.15 2004/08/31 02:14:27 squidadm Exp $ + * $Id: cbdata.cc,v 1.15.6.1 2005/06/16 10:17:29 rmartinez Exp $ * * DEBUG: section 45 Callback Data Registry * ORIGINAL AUTHOR: Duane Wessels @@ -181,6 +181,7 @@ free_func(&data); } + static void cbdataInternalInitType(cbdata_type type, const char *name, int size, FREE * free_func) { @@ -399,8 +400,8 @@ assert(c != NULL); - assert(c->locks > 0); - + assert(c->locks > 0); + c->locks--; if (c->valid || c->locks)