From: wessels <> Date: Fri, 23 May 1997 22:56:30 +0000 (+0000) Subject: add assertion X-Git-Tag: SQUID_3_0_PRE1~4976 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2ea1762b4d6e787be0bdffa0dcc8b0d288f3053;p=thirdparty%2Fsquid.git add assertion --- diff --git a/src/store.cc b/src/store.cc index 6ecafa5639..81ba64f659 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.242 1997/05/23 05:30:36 wessels Exp $ + * $Id: store.cc,v 1.243 1997/05/23 16:56:30 wessels Exp $ * * DEBUG: section 20 Storeage Manager * AUTHOR: Harvest Derived @@ -2166,6 +2166,7 @@ storeClientListAdd(StoreEntry * e, void *data) MemObject *mem = e->mem_obj; struct _store_client *oldlist = NULL; int oldsize; + assert(mem != NULL); /* look for empty slot */ if (mem->clients == NULL) { mem->nclients = MIN_CLIENT;