From: wessels <> Date: Tue, 10 Feb 1998 03:23:49 +0000 (+0000) Subject: add assertion X-Git-Tag: SQUID_3_0_PRE1~4134 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4215b0493152a516d65ed05a45c0baadaa62e833;p=thirdparty%2Fsquid.git add assertion --- diff --git a/src/store_swapout.cc b/src/store_swapout.cc index 713047bece..0c237cb941 100644 --- a/src/store_swapout.cc +++ b/src/store_swapout.cc @@ -195,6 +195,7 @@ void storeSwapOutFileClose(StoreEntry * e) { MemObject *mem = e->mem_obj; + assert(mem != NULL); if (mem->swapout.fd > -1) { file_close(mem->swapout.fd); mem->swapout.fd = -1;