Meh, and this:
Forgetting to remove the enum cascades slightly.
--- src/acl.cc 23 Oct 2005 11:55:32 -0000 1.316
+++ src/acl.cc 22 Apr 2006 13:44:31 -0000
@@ -428,8 +428,7 @@
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);
@@ -451,7 +450,7 @@
tmplink = link;
link = link->next;
dlinkDelete(tmplink, cache);
- memFree(auth_match, MEM_ACL_PROXY_AUTH_MATCH);
+ delete auth_match;
}
}
Cheers,
Rob
This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:03 MDT