From: wessels <> Date: Sat, 6 Dec 1997 08:26:16 +0000 (+0000) Subject: add assertion X-Git-Tag: SQUID_3_0_PRE1~4382 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ddb6142d578c4a2f5a961a44433f5e46daed4014;p=thirdparty%2Fsquid.git add assertion --- diff --git a/src/http.cc b/src/http.cc index a23659c7a8..4ec5f712f7 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,6 +1,6 @@ /* - * $Id: http.cc,v 1.228 1997/12/04 23:07:52 wessels Exp $ + * $Id: http.cc,v 1.229 1997/12/06 01:26:16 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -222,6 +222,7 @@ httpStateFree(int fdnotused, void *data) if (httpState == NULL) return; storeUnregisterAbort(httpState->entry); + assert(httpState->entry->store_status != STORE_PENDING); storeUnlockObject(httpState->entry); if (httpState->reply_hdr) { put_free_8k_page(httpState->reply_hdr);