--------------------- PatchSet 1241 Date: 2001/01/10 07:10:10 Author: rbcollins Branch: auth_rewrite Tag: (none) Log: consistency checks on shutdown Members: src/auth/ntlm/auth_ntlm.c:1.1.2.25->1.1.2.26 Index: squid/src/auth/ntlm/auth_ntlm.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/auth/ntlm/auth_ntlm.c,v retrieving revision 1.1.2.25 retrieving revision 1.1.2.26 diff -u -r1.1.2.25 -r1.1.2.26 --- squid/src/auth/ntlm/auth_ntlm.c 10 Jan 2001 01:35:44 -0000 1.1.2.25 +++ squid/src/auth/ntlm/auth_ntlm.c 10 Jan 2001 07:10:10 -0000 1.1.2.26 @@ -104,16 +104,19 @@ ntlmauthenticators = NULL; if (ntlm_helper_state_pool) { + assert(memPoolInUseCount(ntlm_helper_state_pool)==0); memPoolDestroy(ntlm_helper_state_pool); ntlm_helper_state_pool = NULL; } if (ntlm_request_pool) { + assert(memPoolInUseCount(ntlm_request_pool)==0); memPoolDestroy(ntlm_request_pool); ntlm_request_pool = NULL; } if (ntlm_user_pool) { + assert(memPoolInUseCount(ntlm_user_pool)==0); memPoolDestroy(ntlm_user_pool); ntlm_user_pool = NULL; }