/*
- * $Id: acl.cc,v 1.316 2005/10/23 11:55:32 hno Exp $
+ * $Id: acl.cc,v 1.317 2006/04/22 13:53:21 robertc Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
link = link->next;
}
- auth_match = NULL;
- auth_match = (acl_proxy_auth_match_cache *)memAllocate(MEM_ACL_PROXY_AUTH_MATCH);
+ auth_match = new acl_proxy_auth_match_cache();
auth_match->matchrv = matchForCache (checklist);
auth_match->acl_data = this;
dlinkAddTail(auth_match, &auth_match->link, cache);
tmplink = link;
link = link->next;
dlinkDelete(tmplink, cache);
- memFree(auth_match, MEM_ACL_PROXY_AUTH_MATCH);
+ delete auth_match;
}
}
/*
- * $Id: enums.h,v 1.247 2006/04/22 05:29:19 robertc Exp $
+ * $Id: enums.h,v 1.248 2006/04/22 13:53:21 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
MEM_64K_BUF,
MEM_ACL_DENY_INFO_LIST,
MEM_ACL_NAME_LIST,
- MEM_ACL_PROXY_AUTH_MATCH,
#if USE_CACHE_DIGESTS
MEM_CACHE_DIGEST,
#endif