From: hno <> Date: Wed, 16 Jul 2003 13:18:16 +0000 (+0000) Subject: assert on double cbdataFree() X-Git-Tag: SQUID_3_0_PRE1~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2fb868fcac62a13dcc4a5e7821150a1c6cae0b4;p=thirdparty%2Fsquid.git assert on double cbdataFree() --- diff --git a/src/cbdata.cc b/src/cbdata.cc index d893c55278..01f1de82e2 100644 --- a/src/cbdata.cc +++ b/src/cbdata.cc @@ -1,6 +1,6 @@ /* - * $Id: cbdata.cc,v 1.58 2003/07/14 10:36:42 robertc Exp $ + * $Id: cbdata.cc,v 1.59 2003/07/16 07:18:16 hno Exp $ * * DEBUG: section 45 Callback Data Registry * ORIGINAL AUTHOR: Duane Wessels @@ -277,6 +277,7 @@ cbdataInternalFree(void *p) #endif c->check(); + assert(c->valid); c->valid = 0; #if CBDATA_DEBUG